Blokd UIDocsv1.1.0

Docs / Component reference

EmptyState

Tell the reader why a list has no entries and give them a first action when one is available.

Empty state example

Install

sh
npx @fierst/blokd-ui@1.1.0 add empty-state

Registry dependencies: theme, icon. Package dependencies: @lucide/icons.

Exports from ./ui/empty-state: EmptyState.

Download the registry source for empty-state 1.1.0.

API contracts

ts
export function EmptyState({
  title,
  description,
  icon = Inbox,
  action,
  class: extraClass,
}: {
  title: string;
  description?: string;
  icon?: LucideIconInput;
  action?: View;
  class?: string;
})