Skip to content
Premium & Brand

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">

Skip DynamicIslandProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>
views*
DynamicIslandView[]
value
stringControlled active view id.
defaultValue
string
onValueChange
(id: string) => void