EmptyState
@stellaria/nebula-webEmptyStatePropsPreview
Props
7| Prop | Type | Default |
|---|---|---|
actions | ReactNode | — |
className | string | — |
description | ReactNode | — |
icon | ReactNode | — |
reveal Animates it in when it first scrolls into view. `true` takes the catalogue entrance; an object tunes it — `index` staggers a list. It is declared here and forwarded to the root `Box` rather than inherited: `reveal` lives on `BoxOwnProps`, and most of the catalogue types its props over `StyleProps`, so nothing arrives on its own. | boolean | UseRevealOptions | — |
size | "sm" | "md" | "lg" | "md" |
title required | ReactNode | — |
Slot props
4Each one spreads over an inner element, so you can restyle a region without forking the component.
| Prop | Type | Default |
|---|---|---|
actionsProps The action row. Only rendered with `actions`. | BoxSlotProps | — |
descriptionProps The description. Only rendered with `description`. | TextSlotProps | — |
iconProps The glyph. Only rendered with `icon`, and it is `aria-hidden`. | BoxSlotProps | — |
titleProps The title. The only node always rendered, because `title` is required. | TextSlotProps | — |
Also accepts
On top of its own props, this component forwards these groups.