Import
Usage
Props
Text to display. For predefined status values, color is automatically applied. See Status Values section below.
Visual variant:
label: Badge/pill style (default)chip: Rounded button style
Size variant for chips:
big: Full text displaysmall: Initials only (first 2 characters)selector: Bordered style
Optional icon displayed before the text.
Custom background color (overrides automatic status colors).
Custom text color (overrides automatic status colors).
Disables the label/chip with reduced opacity.
Custom CSS properties.
Accepts all standard HTML div attributes via
ComponentPropsWithoutRef<"div">.Status Values
The component automatically applies colors for these predefined text values:Blue (In Progress)
"inRegister"→ “En registro”"registered"→ “Registrado”"waiting"→ “Pendiente de match”"training"→ “Formación en proceso”
Green (Success)
"match"→ “Match”"done"→ “Resuelto”"active"→ “Activa”"paid"→ “Pagado”"Resuelto"→ “Resuelto”
Red (Error/Cancelled)
"shutdown"→ “Baja”"banned"→ “Bloqueado”"exVolunteer"→ “Ex-voluntario”"canceled"→ “Cancelado”"failed"→ “Fallido”"cancel"→ “Cancelada”"No resuelto"→ “No resuelto”
Gray (Paused/Neutral)
"paused"→ “Pausa”"pending_remittance"→ “Pendiente remesa”"pending"→ “Pendiente”"Pendiente"→ “Pendiente”
Orange (In Progress)
"inProgress"→ “En proceso”"En proceso"→ “En proceso”
Examples
Status Labels
With Icons
Custom Colors
Chips - Big Size
Chips - Small Size (Initials)
Chips - Selector Style
Order Status System
User Role Chips
Styling Details
Label Type
- Height: 28px
- Border radius: 3px
- Padding: 0-8px
- Font size: 14px
- Font weight: 500
Chip Type - Big
- Height: 32px
- Border radius: 555px (fully rounded)
- Padding: 0-12px
- Background: Primary low or soft gray when disabled
Chip Type - Small
- Size: 32x30px (circular)
- Border radius: 50%
- Text: First 2 characters, uppercase
Chip Type - Selector
- Height: 32px
- Border: 1px solid
- Border radius: 555px
- Opacity: 0.6 when disabled
Color Schemes
Blue (Progress)
Green (Success)
Red (Error)
Gray (Neutral)
Orange (Warning)
Spanish Translations
The component automatically translates status keys to Spanish:- English key → Spanish display text
- Useful for internationalized apps with Spanish UI
- All predefined statuses have Spanish labels
Use Cases
- Order status badges
- User role indicators
- Task completion states
- Payment status
- Volunteer/member status
- Document states
- Notification types
- Filter chips
- Category tags