Empty State

Empty State

Placeholder view for zero-data states, cleared crates, and empty playlists — available in framed default and quiet minimal variants.

Default Empty State

Dashed container with monospace heading, descriptive copy, and optional call-to-action slot.

No Vinyl Records Found

You haven't cataloged any vinyl pressings or tape releases into this shelf yet.

Minimal Variant

Quiet, button-free empty state featuring only a dimmed icon and subtle description.

No tracks queued for tonight's set yet.

Quick Import

Example.tsxtsx
1import { EmptyState } from "@rekodo/react";
2import { Music2 } from "lucide-react";
3
4export function Example() {
5 return (
6 <EmptyState
7 variant="minimal"
8 icon={<Music2 className="h-7 w-7" />}
9 description="No tracks queued for tonight's set yet."
10 />
11 );
12}

API Reference

Props accepted by this component.

PropTypeDefaultDescription
variant"default" | "minimal""default"Visual style. Minimal renders a quiet, button-free dimmed icon and description.
titlestringundefinedOptional heading text.
descriptionstringundefinedSecondary helper copy.
iconReactNodeundefinedIcon element (framed in default variant, dimmed and bare in minimal variant).
actionReactNodeundefinedCall-to-action button or link (only rendered in default variant).