About
A small pill-shaped loading indicator with a dot that sweeps back and forth inside a rounded track.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Bar Sweep to your project and fits it to your theme.
Code
How Bar Sweep is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { BarSweep } from "@/components/ui/bar-sweep";
export default function BarSweepDemo() {
return (
<div className="flex items-center justify-center w-full h-screen bg-background">
<BarSweep />
</div>
);
}








