Status
A small status component with customizable variants, indicator and shiny animation effects.
Online
Offline
Away
Info
Warning
Idle
Error
Pending
Success
Error
Busy
Online
Installation
npx shadcn@latest add https://scrollxui.dev/registry/status.json
Add Utilities
tailwind.config.ts
module.exports = {
theme: {
extend: {
keyframes: {
shine: {
'0%': { 'background-position': '100%' },
'100%': { 'background-position': '-100%' },
},
},
animation: {
shine: 'shine 5s linear infinite',
},
},
},
plugins: [],
};
Usage
import { Status } from "@/components/ui/status";
<div className="flex gap-3">
<Status status="online" statusindicator>Online</Status>
<Status status="pending" shiny shinySpeed={2}>Fast Shine</Status>
</div>
Examples
Indicator
Online
Busy
Away
Service Outage
All Systems Operational
Shiny
Processing
Fast Shine
Shiny with Dot
API Reference
Status
The Status component creates a customizable label with optional indicator and shine.