Components
- Accordion
- Action Bar
- Alert Dialog
- Alert
- Announcement
- Aspect Ratio
- Autocomplete
- Avatar
- Badge
- Bottom Navigation
- Breadcrumb
- Button Group
- Button
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Circular Progress
- Circular Slider
- Clipboard
- Collapsible
- Color Picker
- Combobox
- Command
- Context Menu
- Data List
- Date Picker
- Dialog
- Drawer
- Editable
- Field
- File Upload
- Float
- Floating Panel
- Frame
- Hint
- Hover Card
- Image Cropper
- Input Group
- Input OTP
- Input
- Item
- Kbd
- Link Overlay
- Listbox
- Marquee
- Menu
- Native Select
- Number Input
- Pagination
- Popover
- Progress
- Prose
- QR Code
- Radio Group
- Rating
- Resizable
- Scroll Area
- Segment Group
- Select
- Separator
- Sheet
- Sidebar
- Signature Pad
- Skeleton
- Skip Nav
- Slider
- Spinner
- Status
- Steps
- Switch
- Table
- Tabs
- Textarea
- Timer
- Toast
- Toggle Group
- Toggle Tooltip
- Toggle
- Tooltip
- Tour
- Tree View
Installation
pnpm dlx shadcn@latest add https://shark.vini.one/r/status.json
Usage
import { Status } from "@/components/ui/status";
<Status.Root colorPalette="green"> <Status.Indicator /> Success </Status.Root>
Variants
Default
Info
Success
Warning
Destructive
Sizes
Small
Medium
Large
With Badge
OnlineIn progressPendingOffline
With Icon
Place an icon inside the <Status />.
Custom Size
Use size-* utility classes to customize the size.
Custom Color
Use bg-* and text-* utility classes to customize the color.
API Reference
Status
Status badge or indicator (e.g. online, busy, away).
| Prop | Type | Default |
|---|---|---|
variant | "success" | "info" | "warning" | "destructive" | "success" |
size | "sm" | "md" | "lg" | "md" |
className | string | - |
asChild | boolean | false |
| Attribute | Description |
|---|---|
data-slot | status |