Empty state

What a list shows before it has anything in it, with the way to add the first.

Example

🗂
No notes yet
Notes you write appear here.
tsx
<EmptyState
  icon="🗂"
  title="No notes yet"
  description="Notes you write appear here."
>
  <Button>New note</Button>
</EmptyState>

Usage

Pages are built on the server: import the tags from @dash/server and return the tree. The browser runtime draws it.
tsx
import { EmptyState, Button } from "@dash/server";

Props

EmptyStateProps

Prop
Type
Description
iconstring
titlestring
descriptionstring
PreviousProgress
On this page