Material 3 Expressive components for SwiftUI
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 65/100 with only 48 stars
// how to help
// readme
ExpressiveUI
Material 3 Expressive components for SwiftUI, built from the spec’s own design tokens.
SwiftUI’s stock controls are UIKit’s controls. Material 3 names different geometry, different
colour roles, and different motion for the same idea — a Material switch is not a tinted
Toggle. ExpressiveUI implements those controls properly, one at a time, with each measurement
traced back to the token it comes from rather than eyeballed from a screenshot.
Extracted from a shipping app, so every component here is one that survived real use.
Not affiliated with or endorsed by Google. “Material Design” is Google’s trademark; this is an independent SwiftUI implementation of the publicly documented specification.
Install
.package(url: "https://github.com/edenkollcinaku/ExpressiveUI.git", from: "0.1.0")
Requires iOS 16 / macOS 13.
Use
import ExpressiveUI
Toggle("Reminders", isOn: $remindersOn)
.toggleStyle(.expressive)
That renders with Material 3’s baseline scheme. To use your own palette, map it onto
ExpressiveColors once near the root: