Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProFive ready empty states with small animated line-art illustrations: an empty tray with a floating placeholder card, a not found compass whose needle swings and settles, an unplugged cable that reaches for its socket, a magnifier scanning a blank page and a success ring that draws its check and bursts confetti. Each EmptyState takes a variant, title, description, primary and secondary actions (buttons or links), size, accent and light or dark appearance, uses status roles where they matter and shows the final drawing without motion under reduced motion.
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 { EmptyStatesPack } from "@/components/hyperblur-pro/empty-states-pack"
<EmptyState
variant="no-results"
title="No invoices found"
primaryAction={{ label: "Clear filters", onClick: clear }}
secondaryAction={null}
/>
<EmptyStatesPack appearance="light" />| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "empty" | "not-found" | "offline" | "no-results" | "success" | "empty" | EmptyState: illustration and default copy. |
| title | ReactNode | per variant | EmptyState: heading text. On the showcase, the page heading. |
| description | ReactNode | per variant | EmptyState: supporting text. |
| primaryAction | { label: string; onClick?: () => void; href?: string } | null | per variant | EmptyState: main button. Pass null to hide. |
| secondaryAction | { label: string; onClick?: () => void; href?: string } | null | per variant | EmptyState: outline button. Pass null to hide. |
| illustration | ReactNode | undefined | EmptyState: replaces the drawn illustration. |
| size | "sm" | "md" | "lg" | "md" | EmptyState: illustration and title size. |
| accent | string | "#6d5efc" | Accent for illustrations and the primary button. |
| appearance | "light" | "dark" | "light" | Colors for light or dark surfaces. |
Source code is included in Pro and above