Skip to main content

Examples

Default

Small Title Size

With Secondary Action

Centered

Small Media

Props

EmptyState

EmptyStateSlot
Supporting body copy. Strings use library body styles; pass a node for rich text.
EmptyStateSlot
Top visual / illustration slot. A string is treated as an image URL (<img src={…}>); pass a node for custom layout.
"md" | "sm" | "lg" | "xs" | "xl"
default:"lg"
Height of the media container.
EmptyStateSlot
Primary call to action. A string renders a brand Button with that label; pass a node for links, loading, etc.
EmptyStateSlot
Secondary action below the primary. A string renders a secondary Button with that label; pass a node when you need more control.
EmptyStateSlot
Main heading. Strings use library heading styles; pass a node for full control.
"md" | "sm" | "lg" | "xs" | "xl"
default:"lg"
Size of the title heading — mapped internally to bold heading typography tokens.
"default" | "centered"
default:"default"
Matches Figma property Property 1 (Default / centered).

Exported types

Also exported from @fanvue/ui: EmptyStateProps, EmptyStateSlot, EmptyStateVariant.
Setup: Installation · Theming