Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    EmptyState

    feedback

    Labelled empty-content region with a heading, description, and optional action. Use it when a view has no records yet or a filter returns no results.

    Preview

    Usage

    import { Button, EmptyState } from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED';
    
    <EmptyState
      title="No API keys"
      description="Create a key before deploying this application."
      headingLevel={3}
      action={<Button variant="secondary">Create key</Button>}
    />

    Props

    PropTypeDefaultDescription
    titleJSX.ElementrequiredRegion heading and accessible name.
    descriptionJSX.ElementrequiredSupporting text referenced by aria-describedby.
    headingLevel2 | 3 | 4 | 5 | 62Heading level for the title.
    actionJSX.Element--Optional action slot, usually one button or link.
    classstring--Additional CSS classes.

    Accessibility

    Do / Don't

    Do

    Explain why the area is empty and offer the most likely next action.

    Don't

    Don't use an empty state for transient loading. Use Skeleton while content is still being fetched.