About
Here is Spinner component
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spinner to your project and fits it to your theme.
Code
How Spinner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import React, { useState } from "react";
import { Spinner } from "@/components/ui/spinner";
import { Button } from "@/components/ui/button";
const SpinnerToggle = () => {
const [show, setShow] = useState(false);
return (
<div className="flex items-center gap-5">
<Button onClick={() => setShow((pre) => !pre)}>toggle spinner</Button>
<Spinner show={show} />
</div>
);
};
export default SpinnerToggle;
















