Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProFour alert micro-interactions on a clean light stage: a notification bell that swings with a popping badge, a toast that drops in from the top of a phone, a modal that springs open over a dimmed backdrop, and a typing bubble with waving dots. Toasts can be swiped away, the modal traps focus and closes on Escape or backdrop click, light and dark themes are included, and reduced motion shows static end states.
Included in Standard 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 { AlertMotionKit } from "@/components/hyperblur-pro/alert-motion-kit"
<AlertMotionKit theme="light" />
<RingingBell count={3} />
<ToastStack items={toasts} onDismiss={remove} />
<SpringModal open={open} onClose={() => setOpen(false)} title="Saved">Done.</SpringModal>
<SaveChip onSave={save} />
<TypingBubble typing />| Prop | Type | Default | Description |
|---|---|---|---|
| theme | "light" | "dark" | "light" | Color theme of the kit and of every standalone export. |
| autoPlay | boolean | true | Runs the demo loops in every cell. Standalone exports default to false. |
| RingingBell.count | number | 3 | Number shown in the badge. 0 hides it. Clicking the bell rings it. |
| ToastStack.items | { id: string; message: ReactNode }[] | required | Toasts to show. The newest sits on top, older ones scale back. |
| ToastStack.onDismiss | (id: string) => void | required | Called after a toast times out, is swiped or is dismissed with Escape or Delete. |
| ToastStack.duration / timer / max / contained | number / boolean / number / boolean | 4000 / false / 3 / false | Auto dismiss time in ms (0 keeps it), a shrinking timer bar, visible count, and whether to position inside the nearest positioned parent. |
| SpringModal.open / onClose | boolean / () => void | required | Controlled visibility. Escape and backdrop click call onClose. |
| SpringModal.title / actionLabel | string | undefined / "Done" | Dialog heading and primary button label. |
| SpringModal.origin / contained / autoFocus | { x: number; y: number } / boolean / boolean | center / false / true | Pop origin in pixels inside the dialog, parent-contained mode, and focus handling with restore on close. |
| SaveChip.onSave / label / savedLabel | () => void | Promise<void> / string / string | undefined / "Save" / "Saved" | Button that shows a spinner, then a drawn check, then resets. |
| TypingBubble.message / reply / typing | string / string[] / boolean | "Are you there?" / undefined / false | Outgoing bubble, optional reply lines revealed one by one, and the typing state when not auto playing. |
| size | number | 16 | Base size in pixels on every standalone export. |
Source code is included in Standard and above