009
A tiny working indicator that rolls through what it's doing, from Reading to Searching to Writing, eases to fit each word and lands on a green check when it's finished.
akathinking loader·spinner
Run this in any project set up for the shadcn CLI. It copies the Status Pill source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/status-pill.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { StatusPill } from "@/components/status-pill";
export default function Page() {
return <StatusPill />;
}A free React component in the Conversation collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Status Pill source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| phases | string[] | ["Reading", "Searching", "Writing"] |
| doneLabel | string | "Done" |
| interval | number | 1400 |
| done | boolean | — |
| loop | boolean | false |
| size | "sm" | "default" | "default" |
| className | string | — |