Components
Status
The Status component is a compact icon designed to visually indicate the current state of an element, such as online, offline, or error.
Basic example
Default
Basic example of `status` component.
Size
Status Sizes
Status sizes with `status-{xs|sm|md|lg|xl}` utility classes.
Color
Semantic colors
Pre-configured color status designs.
Animation
Bounce Animation
Use the `animate-bounce` utility to apply a bouncing animation to an element, creating a dynamic up-and-down motion. This effect is useful for drawing attention to interactive elements like buttons, notifications, or alerts.
Ping Animation
Include the `animate-ping` utility to enable an element to scale and fade, resembling a radar ping or water ripple effect, which is beneficial for features like attention to the alert.
Pulse Animation
Use the `animate-pulse` utility to make an element pulse, drawing attention to important statuses like alerts or maintenance.
Illustrations
Status with progress
This example demonstrates how to integrate `status` with `progress` for better task visualization.
Class referenceThe component, style, color, state, size and modifier classes available for this component.
| Class | Type | Description |
|---|---|---|
status | component | Status component |
status-primary | color | Status with 'primary' color. |
status-secondary | color | Status with 'secondary' color. |
status-accent | color | Status with 'accent' color. |
status-info | color | Status with 'info' color. |
status-success | color | Status with 'success' color. |
status-warning | color | Status with 'warning' color. |
status-error | color | Status with 'error' color. |
status-xs | size | Status with extra small size. |
status-sm | size | Status with small size. |
status-md | size | Status with medium (Default) size. |
status-lg | size | Status with large size. |
status-xl | size | Status with extra large size. |