Open SymbolsOpen Symbols
exclamation-triangle, from Heroicons

exclamation-triangle

From Heroicons · heroicons.exclamation-triangle

OutlineFill

In Xcode, drag the template into an asset catalog, where it appears as heroicons.exclamation-triangle.

Image("heroicons.exclamation-triangle")
    .font(.title)
    .fontWeight(.semibold)

Label("Exclamation triangle", image: "heroicons.exclamation-triangle")
let configuration = UIImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = UIImage(named: "heroicons.exclamation-triangle", in: nil, with: configuration)
let configuration = NSImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = NSImage(named: "heroicons.exclamation-triangle")?
    .withSymbolConfiguration(configuration)
License
MIT License, from Heroicons 2.2.0 · All of Heroicons on GitHub
Weights
Generated by SymbolKit.

exclamation-triangle in other libraries

More from Heroicons