About
A button that shows a spinning loader icon and disables itself while an action is in progress.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Loading Button to your project and fits it to your theme.
Code
How Loading Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import LoadingButton from "@/components/ui/button-22";
export default function LoadingButtonDemo() {
return (
<div className="flex items-center justify-center w-full h-40">
<LoadingButton />
</div>
);
}















