Open SymbolsOpen Symbols
pill, from Hugeicons

pill

From Hugeicons · hugeicons.pill

In Xcode, drag the template into an asset catalog, where it appears as hugeicons.pill.

Image("hugeicons.pill")
    .font(.title)
    .fontWeight(.semibold)

Label("Pill", image: "hugeicons.pill")
let configuration = UIImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = UIImage(named: "hugeicons.pill", in: nil, with: configuration)
let configuration = NSImage.SymbolConfiguration(
    pointSize: 24, weight: .semibold, scale: .medium)
let image = NSImage(named: "hugeicons.pill")?
    .withSymbolConfiguration(configuration)
License
MIT License, from Hugeicons 4.3.5 · All of Hugeicons on GitHub
Weights
Generated by SymbolKit.

pill in other libraries

More from Hugeicons