Dynamic Island
A compact live-activity pill that morphs between views.
Import
tsx
import { DynamicIsland } from "@cronus-ui/ui";
bash
npx cronus-ui add dynamic-island
Examples
API Reference
Generated from the component's exported types.
DynamicIslandProps
Extends Omit<HTMLAttributes<HTMLDivElement>, "children">
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | — |
views* | DynamicIslandView[] | — | — |
value | string | — | Controlled active view id. |
defaultValue | string | — | — |
onValueChange | (id: string) => void | — | — |