EmptyState
proEmptyState centers an illustration over one of three SVG background patterns with a content slot below for titles, descriptions, and actions.
No data available
Installation
Add this component with the NateUI CLI.
Examples
Variants
Wave
Grid
Dots
With Offset
No documents uploaded
API
| Prop | Description | Type | Default |
|---|---|---|---|
variant | Background pattern variant. | 'wave' | 'grid' | 'dots' | 'wave' |
size | Width and height of the background container in pixels. | number | 300 |
illustration | Icon or illustration rendered centered on the background. | ReactNode | — |
offset | Vertical offset (negative margin) for the content below the illustration. | number | 0 |
children | Content to display below the background — title, description, actions. | ReactNode | — |