Start

Getting started

Bring Material 3 Expressive to your SwiftUI app with morphing shapes, wavy progress, expressive buttons and the M3 color and motion system.

Pick a platform

PlatformAvailability
SwiftUIAvailable
React NativeComing soon
FlutterComing 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