composepill GitHub
OPEN SOURCE · COMPOSE MULTIPLATFORM

Floating navigation for Compose Multiplatform.

A customizable navigation bar with expressive surfaces and smooth interactions for Android, iOS, desktop and web.

MADE FORAndroidiOSDesktopWasm
BUILT FOR COMPOSE✳DESIGNED TO MOVE✳OPEN SOURCE✳YOURS TO MAKE YOURS
01 / THE DETAILS

Built for your app.
Ready to customize.

The navigation bar is just the beginning. Compose Pill gives you the pieces to make it feel at home in your app.

01 / MOTION

Moves with intent.

Animated selection and optional drag-to-select make switching destinations feel natural.

02 / MATERIAL

Find your surface.

Choose solid, frosted or custom glass. Tune colors, shape and motion to match your design.

03 / CONTROL

Your app stays in charge.

Keep navigation state in your app. Supply your own icons, labels, badges and actions.

02 / THE PLAYGROUND

See it
in action.

This is the real Compose Wasm sample. Switch surfaces, tap or drag between destinations, and scroll to see the bar compact.

  • 01 Select a destination
  • 02 Try frost, glass and solid
  • 03 Scroll the sample
Open demo full screen

The demo downloads a WebAssembly runtime on first load and requires a browser with WebAssembly support.

LIVE WASM DEMOINTERACTIVE ↘
compose pill / sample
03 / GET STARTED

Start building
with Compose Pill.

Compose Pill works with your existing navigation and design system. Start with the dependency, then make it yours.

01 / INSTALLbuild.gradle.kts
// In commonMain, with mavenCentral()
implementation("io.github.samuolis:pill:0.1.0")
02 / CREATEKotlin
PillNavigationBar(
    items = destinations,
    selectedKey = currentRoute,
    onSelect = { route -> navigate(route) },
    scrubEnabled = true,
)
Ready to make it yours?

Explore placement, surfaces, accessibility and complete usage examples.

Read the usage guide
COMPOSE PILL · OPEN SOURCE

Build better
navigation.

Explore on GitHub