Components
EmptyState
API Reference

API Reference

Renders a styled empty state area

<EmptyState>
  <Heading>Title goes here</Heading>
  <Slot name="actions">
    <Button variant="primary">label</Button>
  </Slot>
</EmptyState>

Parameters

props

  • Type: @vtex/shoreline-components.EmptyStateProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>

Props

size (optional)

Indicates size of empty state area

  • Type: small | large | medium

  • Default: 'medium'

View source (opens in a new tab)