Open SymbolsOpen Symbols
lock, from Hugeicons

lock

From Hugeicons · hugeicons.lock

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

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

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

lock in other libraries

More from Hugeicons