zweiundeins

Busy

Component

About

A loading indicator (spinner, progress bar, or skeleton lines) that can show itself automatically while a watched network request is in flight, with configurable show/hide delay and minimum visible time to avoid flicker.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Busy to your project and fits it to your theme.

Code

How Busy is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Busy from "@/components/ui/busy";

export default function BusyProgressBarDemo() {
  return (
    <div className="w-full h-screen flex items-center justify-center bg-[#0b1224] p-8">
      <div className="grid gap-6 w-full max-w-sm">
        <Busy busy variant="bar" label="Uploading" />
        <Busy busy variant="bar" value="64" label="Uploading" showLabel />
      </div>
    </div>
  );
}

More by zweiundeins

View all
  • Theme Switch

    Theme Switch

    11
  • Odometer

    Odometer

  • Meter

    Meter

  • Radio Group

    Radio Group

  • Gauge

    Gauge

  • Checkbox Group

    Checkbox Group

  • QR Code

    QR Code

  • Alert

    Alert