Five ready empty screens: no results, offline, caught up, not found and first run.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { OfflineState } from "@/components/ui/notchset/blocks/empty-states";
export function Offline() {
const [status, setStatus] = React.useState<"offline" | "connecting" | "online">("offline");
return (
<OfflineState
status={status}
retryIn={12}
onRetry={() => {
setStatus("connecting");
fetch("/api/ping").then(
(res) => setStatus(res.ok ? "online" : "offline"),
() => setStatus("offline"),
);
}}
body="3 changes are saved on this device and will sync when you reconnect."
/>
);
}EmptyState–
{ diagram?, title, children?, actions? }The frame, for a state of your own.
NoResultsState–
{ query?, filters, onRemoveFilter, onClearFilters, total, count, matches, title?, body? }Filter chips come off one by one; the bars fill and SHOW n RUNS lists the matches.
OfflineState–
{ status, onRetry, retryIn?, service?, title?, body? }status is offline, connecting or online; the countdown rolls.
CaughtUpState–
{ earlier, paused?, onPausedChange?, title?, body? }Twelve dots pop in; VIEW EARLIER expands recent history.
NotFoundState–
{ label, suggestions, onPick, note?, title, body? }The closest matches as buttons.
FirstRunState–
{ steps, done, onStep, title, body? }Steps enable in turn; the rail fills as they are done.
EmptyStatedata-slot="empty-state"
The frame: diagram, title, line, actions.
NoResultsStatedata-slot="—"
Filters to remove and the matches.
OfflineStatedata-slot="—"
Retry and the countdown.
CaughtUpStatedata-slot="—"
Earlier history and a pause.
NotFoundStatedata-slot="—"
The closest matches.
FirstRunStatedata-slot="—"
Steps that enable in turn.
components/ui/notchset/blocks/empty-states.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @beautiful-ui-pro/empty-statesNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-03
First release
Pro is in early access.