Dynamic Island
- from @mizzle
- by mizzle <https://mizzle.saddy.me>
A pill that changes shape to fit what it is showing. Give it a view key and some content: it glides to the new size from rest, taking longer for longer trips, and dissolves what is inside. Larger views sit on a raised card surface that grows with it. No animation library.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @mizzle/dynamic-islandComponent source
No live preview has been built for this component yet.
Registry dependencies4
- @mizzle/card
- @mizzle/use-latest
- @mizzle/use-merged-ref
- @mizzle/use-outgoing
Packages0
No npm packages are installed with it.
