Open SymbolsOpen Symbols
light-bulb, from Heroicons

light-bulb

From Heroicons · heroicons.light-bulb

OutlineFill

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

Image("heroicons.light-bulb")
    .font(.title)
    .fontWeight(.semibold)

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

light-bulb in other libraries

More from Heroicons