feedback
empty state
what to show when a list or page has nothing in it yet, plus something to do about it.
installation
new to blurrow? this sets up your project in one go: the package, the styles and the font. already done it? skip straight to usage. the installation page has the details.
bash
npx @blurrow/ui init›rather own the code? copy the source instead
let the cli copy it, along with anything it needs:
bash
npx @blurrow/ui add empty-stateor by hand: drop this file into components/ui and import from there.
usage
tsx
import { EmptyState } from "@blurrow/ui";tsx
<EmptyState title="no posts yet" description="…" action={<Button>create post</Button>} />props
straight from the source, so they're always up to date.
propsts
interface EmptyStateProps { icon?: React.ReactNode; title: string; description?: string; action?: React.ReactNode; className?: string;}