DUEmptyState
WidgetsNo-data placeholder with optional action.
import { DUEmptyState } from 'deri-ui';Live preview
📭
Nothing here
Create your first item.
typescript
<DUEmptyState title="No results" description="Try another filter." actionLabel="Reset" onAction={reset} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title / description | string | — | Copy |
| actionLabel | string | — | CTA |
| onAction / actionHref | fn | string | — | Action target |
Usage
import { DUEmptyState } from 'deri-ui';
<DUEmptyState title="No results" description="Try another filter." actionLabel="Reset" onAction={reset} />Customize with className, radius, and Tailwind utilities. Theme tokens come from deri-ui/tailwind.preset.
Related
© 2026 Deri Ui. Developed by Deribew Shimelis. Copy and use the code freely in your projects.
