Skip to Content
DocsEnterpriseBlogShowcase

Status

Used to indicate the status of a process or state

SourceStorybookRecipeSourceStorybookRecipe

Setup

If you don't already have the snippet, run the following command to add the status snippet

chakra snippet add status

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

Usage

import { Status } from "@/components/ui/status"
<Status>Label</Status>

Examples

Label

Render the label within the status component.

Error
Info
Warning
Success

Sizes

Use the size prop to change the size of the status component.

In Review
Error
Approved
In Review
Error
Approved
In Review
Error
Approved

Props

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

The color palette of the component

size 'md'
'sm' | 'md' | 'lg'

The size of the component