--- 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 --- # Status `Status` is component that indicate the status of a process or state. ```tsx ``` ## Usage ```tsx import { Status } from "@yamada-ui/react" ``` ```tsx import { Status } from "@/components/ui" ``` ```tsx import { Status } from "@workspaces/ui" ``` ```tsx ``` :::tip To convey additional information about a process or state in a message, use [Alert](https://yamada-ui.com/docs/components/alert.md). ::: ### 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 | ## Similar Components - [EmptyState](https://yamada-ui.com/docs/components/empty-state.md): `EmptyState` is a component used to display when a resource is empty or unavailable. - [Alert](https://yamada-ui.com/docs/components/alert.md): `Alert` is a component that conveys information to the user. - [Badge](https://yamada-ui.com/docs/components/badge.md): `Badge` is a component that emphasizes the status of an item to make it immediately recognizable. - [CircleProgress](https://yamada-ui.com/docs/components/circle-progress.md): `CircleProgress` is a component that displays progress in a circular progress bar. - [Indicator](https://yamada-ui.com/docs/components/indicator.md): `Indicator` is a component that displays at the corner of elements such as avatars. - [Progress](https://yamada-ui.com/docs/components/progress.md): `Progress` is a component for visually indicating progress. - [Skeleton](https://yamada-ui.com/docs/components/skeleton.md): `Skeleton` is a component that acts as a placeholder until content is loaded. - [Snacks](https://yamada-ui.com/docs/components/snacks.md): `Snacks` is a component for controlling notifications used in forms and other similar situations. ## Used By Components & Hooks - [Alert](https://yamada-ui.com/docs/components/alert.md): `Alert` is a component that conveys information to the user. - [Tip](https://yamada-ui.com/docs/components/tip.md): `Tip` is a component that displays supplementary information with a built-in icon trigger.