Build faster with Premium Chakra UI Components 💎

Learn more
Skip to Content
DocsPlaygroundGuidesBlog
Sponsor

Empty State

Used to indicate when a resource is empty or unavailable.

SourceStorybookRecipe

Your cart is empty

Explore our products and add items to your cart

Setup

If you don't already have the snippet, run the following command to add the empty-state snippet

npx @chakra-ui/cli snippet add empty-state

The snippet includes a closed component composition for the EmptyState component.

Usage

import { EmptyState } from "@/components/ui/empty-state"
<EmptyState />

Examples

Action

Here's an example of an empty state with an action button.

Start adding tokens

Add a new design token to get started

List

Here's an example of an empty state with a list.

No results found

Try adjusting your search

  • Try removing filters
  • Try different keywords

Props

Root

PropDefaultType
colorPalette 'gray'
'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'cyan' | 'purple' | 'pink' | 'accent'

The color palette of the component

size 'md'
'md' | 'lg'

The size of the component

Previous

Editable

Next

Field