v0.1 public beta early access on GitHub
Home / Components / empty-state

Empty StateiOS

Illustrated placeholder with title, copy and action slot.

$ npx lumioui add empty-state
import { EmptyState } from "@/components/ui/empty-state/empty-state";
Empty Stateempty-state.tsx
empty-state/empty-state.tsx open

Live preview — the real component, driven by the props below.

Props6
title string Headline.
variant? "default" | "search" | "error" Visual tone. Default "default".
icon? React.ReactNode Icon slot rendered in a circular well. Defaults to a lucide icon per variant.
description? string Supporting copy.
action? React.ReactNode Optional action slot (e.g. a <Button>).
className? string
Empty Statevariants.tsx
empty-state/variants/variants.tsx open

Illustrated placeholder with title, copy and action slot.