Open SymbolsOpen Symbols
lock-closed, from Heroicons

lock-closed

From Heroicons · heroicons.lock-closed

OutlineFill

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

Image("heroicons.lock-closed")
    .font(.title)
    .fontWeight(.semibold)

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

lock-closed in other libraries

More from Heroicons