Components / Feedback
EmptyState
A friendly “nothing here” with icon and actions.
@ruckc/truss-ui Feedback
Import
import { EmptyState } from '@ruckc/truss-ui'; Playground
icon
intent
API
| Prop | Type | Default | Description |
|---|---|---|---|
title required | string | — | Heading text. |
description | string | — | Supporting text. |
icon | IconSource | 'search' | Name of a built-in icon to show. |
intent | 'neutral' | 'danger' | 'neutral' | Semantic colour: `primary`, `neutral`, `success`, `warning` or `danger`. |
actions snippet | Snippet | — | Action buttons, as a Svelte snippet. |