ComponentsProNew

Dynamic Island

A black pill like on the iPhone that smoothly morphs into a call, timer, notification or player.

Customize

accentColor
glowColor
highlightColor

Based on Dynamic Island (MIT license) ยท Terms of use

Props

9 properties
PropertyTypeDefaultDescription
view'idle' | 'ring' | 'timer' | 'notification' | 'music'"idle"Which view the island shows: weather, call, timer, notification or player.
onViewChange(view) => voidโ€”Called when a button switches the view.
idleContentReactNodeโ€”Custom content for the idle view.
ringContentReactNodeโ€”Custom content for the call view.
timerContentReactNodeโ€”Custom content for the timer view.
accentColorstring"#ffffff"Main colour: icons, the live dot, the timer bar and the badge.
glowColorstring"rgba(255,255,255,0.1)"Soft glow around the island.
highlightColorstring"rgba(255,255,255,0.1)"Thin light rim of the island.
classNamestringโ€”Classes for the outer box.

Dependencies

2 required packages

npm install motion lucide-react

Related components

View all