About
A button in loading state with an animated circular spinner, for indicating progress during form submission or async actions.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Button Spinner to your project and fits it to your theme.
Code
How Button Spinner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import SpinnerButtonPrimary from "@/components/ui/uiable-spinner-button";
export default function Default() {
return (
<div className="flex min-h-64 w-full items-center justify-center bg-background p-8">
<SpinnerButtonPrimary />
</div>
);
}
















