Status Indicator
Clear, accessible feedback for idle, loading, success, and error states in your AI workflows.
shadcn registry · install below
Ready to run
Installation
pnpm dlx shadcn@latest add https://www.sudhanshuxsingh.in/r/status-indicator.jsonNeeds a project with shadcn/ui set up. The source lands in your codebase, ready to edit.
Usage
import { StatusIndicator } from "@/components/ui/status-indicator";
export function Example() {
// Drive status from your own request lifecycle.
return <StatusIndicator status="loading" label="Generating diagram…" />;
}
// Supported states: "idle", "loading", "success", "error"