Open SymbolsOpen Symbols
star, from Heroicons

star

From Heroicons · heroicons.star

OutlineFill

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

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

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

star in other libraries

More from Heroicons