Dynamic Island
PROA pill that morphs into a little now-playing card.
React 19Tailwind 4motionadded 2026-12-05
live preview · dynamic island
click the pill
Installation
Into your bowl in one line.
The CLI drops the source straight into your project. You own every line; there’s no package to update.
- 01
Add it with the CLI
$ npx bowls@latest add dynamic-island - 02
Or go manual: install the one dependency
npm i motion - 03
Serve it
Paste the source into
components/bowls/dynamic-island.tsxand import it — the Code tab’s demo.tsx shows a full example.
Props
| PROP | TYPE | DEFAULT | WHAT IT DOES |
|---|---|---|---|
| title | string | — | Track title. |
| subtitle | string | — | Artist and album. |
| cover | [string, string] | — | Two colours for the cover art. |
| progress | number | 0.4 | Playback progress, 0–1. |