back to projects Lucide-Swift — Native SwiftUI Shapes, Zero Dependencies

Lucide-Swift

Type-safe Swift package for Lucide Icons — 1,500+ clean, consistent icons rendered as native SwiftUI paths. No UIKit bridge, no WebKit, no strings.

1,500+ Icons
5 Apple platforms
17 GitHub stars
17 stars Swift Package Manager github.com/ajaxjiang96/lucide-swift

What it does

A type-safe Swift package that wraps the entire Lucide icon set — 1,500+ icons — for native SwiftUI rendering. Unlike UIKit-bridged alternatives, Lucide-Swift renders icons as first-class SwiftUI paths with full control over color, stroke width, and size.

Lucide icons rendered in SwiftUI

Key features

Complete Icon Set

Full Lucide library — auto-updated from upstream.

Type-Safe API

Every icon is a compile-time checked symbol, not a string lookup.

Native Vector Rendering

SVG paths translated to SwiftUI Path at build time.

Zero UIKit Dependencies

Pure SwiftUI — iOS, iPadOS, macOS, watchOS, visionOS.

Full Modifier Chain

Color, stroke width, and size as standard View modifiers.

Why this approach

Most Swift icon libraries wrap UIKit's UIImage or use WebKit to render SVGs. Lucide-Swift parses SVG path data at build time and generates native SwiftUI Path structs — faster rendering, smaller binary footprint, and full access to SwiftUI's animation and layout system.