--- title: Status description: "`Status` is component that indicate the status of a process or state." links: - style: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/status/status.style.ts - source: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/status - storybook: https://yamada-ui.github.io/yamada-ui?path=/story/components-status--basic --- ```tsx ``` ## Usage ```tsx import { Status } from "@yamada-ui/react" ``` ```tsx import { Status } from "@/components/ui" ``` ```tsx import { Status } from "@workspaces/ui" ``` ```tsx ``` ### Change Sizes ```tsx {(size) => ( Info Success Warning Error )} ``` ### Change Color Scheme ```tsx {(row) => ( {toTitleCase(row.status)} )} ``` ### Display Labels ```tsx Info Success Warning Error ``` ## Props | Prop | Default | Type | Description | | ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | | `as` | - | `As` | The HTML element to render. | | `asChild` | - | `boolean` | Merges its props onto its immediate child. | | `css` | - | `CSSObject \| CSSObject[]` | The CSS object. | | `colorScheme` | - | `"amber" \| "black" \| "blackAlpha" \| "blue" \| "cyan" \| "danger" \| "emerald" \| "error" \| "flashy" \| "fuchsia" ...` | Set color scheme variables. | | `size` | `"md"` | `"lg" \| "md" \| "sm"` | The size of the component. | | `indicatorProps` | - | `HTMLStyledProps` | The props for the status indicator component | | `labelProps` | - | `HTMLStyledProps` | The props for the status label component | | `value` | `"info"` | `StatusScheme` | The type of the status |