---
title: Status Badge
description: A small indicator for displaying status, state, or category.
---
## Preview
## Installation
CLI
Manual
```bash
npx @olyx/cli@latest add status-badge
```
Install the following dependencies:
```bash
npm install @base-ui/react
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage
```tsx
import { StatusBadge } from "@/components/ui/status-badge"
```
```tsx
Active
```
## API Reference
### StatusBadge
Renders a styled `` via Base UI's `useRender` hook.
| Prop | Type | Default |
| --------- | ------------------------------------------------------------ | --------- |
| `status` | `"success" \| "warning" \| "failed" \| "disabled" \| "info"` | — |
| `variant` | `"light" \| "stroke"` | `"light"` |
| `doted` | `boolean` | `false` |
## Examples
### Success Status
### Warning Status
### Error Status
### Info Status
### Disabled Status