Open SymbolsOpen Symbols
pencil, from Heroicons

pencil

From Heroicons · heroicons.pencil

OutlineFill

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

Image("heroicons.pencil")
    .font(.title)
    .fontWeight(.semibold)

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

pencil in other libraries

More from Heroicons