Open SymbolsOpen Symbols
chart-bar, from Heroicons

chart-bar

From Heroicons · heroicons.chart-bar

OutlineFill

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

Image("heroicons.chart-bar")
    .font(.title)
    .fontWeight(.semibold)

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

chart-bar in other libraries

More from Heroicons