Open SymbolsOpen Symbols
octagon, from Font Awesome

octagon

From Font Awesome · font-awesome.octagon

In Xcode, drag the template into an asset catalog, where it appears as font-awesome.octagon.

Image("font-awesome.octagon")
    .font(.title)
    .fontWeight(.semibold)

Label("Octagon", image: "font-awesome.octagon")
let configuration = UIImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = UIImage(named: "font-awesome.octagon", in: nil, with: configuration)
let configuration = NSImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = NSImage(named: "font-awesome.octagon")?
    .withSymbolConfiguration(configuration)
Tags
geometricoctagonoctagonalpolygonroad signshapestopstop signsymboltrafficwarning
Categories
Shapes
License
CC BY 4.0 License, from Font Awesome 7.3.1 · All of Font Awesome on GitHub
Weights
Generated by SymbolKit.

octagon in other libraries

More from Font Awesome