Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA standalone floating black status capsule with a small state API. Width, height and corner radius each ride their own spring, so it overshoots and settles as it morphs between idle, a countdown timer with a ring, a call with a live voice waveform, music with dancing bars, download progress and a full notification card, while content crossfades with a blur. Tapping expands the current state into a richer card with working controls; it is a real button with an accessible label, Escape collapses it, animation pauses offscreen and reduced motion shows final shapes.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { CapsuleIslandMorph } from "@/components/hyperblur-pro/capsule-island-morph"
<CapsuleIslandMorph />
const [state, setState] = useState<CapsuleState>("music");
<StatusCapsule
state={state}
data={{ trackTitle: "Low Tide", trackArtist: "Juniper Coast", trackCover: coverUrl }}
onAction={(a) => console.log(a)}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| state | "idle" | "timer" | "call" | "music" | "download" | "card" | "idle" | StatusCapsule: which status the capsule shows. |
| expanded / defaultExpanded | boolean | false | StatusCapsule: controlled or uncontrolled expanded card. |
| onExpandedChange | (expanded: boolean) => void | undefined | StatusCapsule: called when the capsule is tapped or collapsed with Escape. |
| onAction | (action: string) => void | undefined | StatusCapsule: play, pause, prev, next, call-end, call-mute, timer-pause, timer-stop. |
| data | CapsuleData | demo content | Timer length, caller name and avatar, track title, artist and cover, download label and progress, card title, body and image. |
| accent | string | "#ff8a3d" | Timer color, music bars and card label. |
| image | string | "" | CapsuleIslandMorph: optional backdrop photo. Empty shows the built in teal, lime and ember night gradient. |
| autoTour | boolean | true | CapsuleIslandMorph: cycle through the states until the visitor picks one. |
| title / subtitle | string | "One shape, every status." | CapsuleIslandMorph: heading and paragraph. |
Source code is included in Pro and above