Empty
What to show where content will be.
Say what’s missing, why, and what to do next. The media tile takes an icon.
Dependencies
What it's built from and what's built from it in Base, read from the imports in its source.
| Uses | Textprimitive |
|---|---|
| Used by | Nothing yet. |
| Packages | None. |
Installation
Set the project up for Base once first, as Getting started shows. Then add it with the CLI, or by hand.
With the CLI
Manually
Add the components it uses first, listed under Dependencies.
Then copy the source:
API reference
Generated from Base's types. Props marked ours are added here; the rest come from the ui-sdk part it wraps. Every part also accepts its element's native attributes.
Empty
What to show where content will be: a message, and what to do about it.
Takes the props of a native div.
EmptyContent
Actions under the message.
Takes the props of a native div.
EmptyDescription
Says why, and what happens next.
Takes the props of a native div.
EmptyHeader
The icon, title and description.
Takes the props of a native div.
EmptyMedia
An icon in a tile above the title.
Takes the props of a native div.
EmptyTitle
Says what's missing.
Takes the props of a native div.