Moves with intent.
Animated selection and optional drag-to-select make switching destinations feel natural.
A customizable navigation bar with expressive surfaces and smooth interactions for Android, iOS, desktop and web.
The navigation bar is just the beginning. Compose Pill gives you the pieces to make it feel at home in your app.
Animated selection and optional drag-to-select make switching destinations feel natural.
Choose solid, frosted or custom glass. Tune colors, shape and motion to match your design.
Keep navigation state in your app. Supply your own icons, labels, badges and actions.
This is the real Compose Wasm sample. Switch surfaces, tap or drag between destinations, and scroll to see the bar compact.
The demo downloads a WebAssembly runtime on first load and requires a browser with WebAssembly support.
Compose Pill works with your existing navigation and design system. Start with the dependency, then make it yours.
// In commonMain, with mavenCentral()
implementation("io.github.samuolis:pill:0.1.0")PillNavigationBar(
items = destinations,
selectedKey = currentRoute,
onSelect = { route -> navigate(route) },
scrubEnabled = true,
)Explore placement, surfaces, accessibility and complete usage examples.