Skip to content
Data Display

EmptyState

client27.75 kB
@stellaria/nebula-webEmptyStateProps

Preview

Props

6
PropTypeDefault

actions

ReactNode

className

string

description

ReactNode

icon

ReactNode

size

"sm" | "md" | "lg""md"

title

required
ReactNode

Slot props

4

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

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.

Style props · 127