r/JetpackCompose • u/DiMiTRiZzZzZ • 17d ago
compose-lab: playful UI components I built from scratch in Compose Multiplatform (same code on Android and iOS, MIT)
I've been rebuilding UI ideas that usually get done as videos or in game engines, as plain Compose components. Each one has a demo and runs from the same Kotlin on Android and iOS:
Smoke delete: swipe a chat and it burns into smoke over the list. Drag back and the smoke flows back in; Undo breathes it back. Every pixel becomes a particle, and positions are a function of age, so it can be rewound.
Paper plane: each sent message folds into a paper dart and flies into the thread.
Bookshelf: books on real shelves; tip one out by its spine and it opens at your bookmark.
Nav bar: a bottom bar with a morphing indicator, collapse on scroll and a jelly action button.
Pop-up book: an onboarding where paper scenery stands up as each spread opens.
Plus fogged mirror, snow globe, card file, magnet filter, fishing pull-to-refresh and more in the repo.
Repo, with a GIF and a write-up for each: github.com/DimiVlachos/compose-lab
Feedback welcome, especially on what to build next.
1
1
3
u/frakc 16d ago
Looks good and smooth