Pick a platform
| Platform | Availability |
|---|---|
| SwiftUI | Available |
| React Native | Coming soon |
| Flutter | Coming soon |
Install
SwiftUI
.package(url: "https://github.com/EqviLabs/m3ekit-swift.git", from: "0.1.0")Your first screen
A shape that morphs when you tap the button, a loading indicator and a themed root.
SwiftUI
import SwiftUI
import M3EKit
struct ContentView: View {
@State private var shape: M3EShape = .cookie9Sided
var body: some View {
VStack(spacing: 24) {
M3EMaterialShape(shape).frame(width: 120)
M3ELoadingIndicator()
M3EButton("Morph", icon: "refresh", size: .medium) {
shape = shape == .flower ? .cookie9Sided : .flower
}
}
.m3eTheme(seed: 0x6750A4)
}
}Every component reads its colors from the theme and its motion from the M3 expressive springs. Change the seed color and the whole UI follows.
Where next
- Component library: examples, SwiftUI APIs and usage guidelines.
- Theming & color: seed colors, variants, contrast, brand fonts.
- Shapes & morphing: the 35 shapes, clipping and custom polygons.
- AI agent prompts: let your coding agent do the integration.