Arihant jain

Spinner

Buttons 2

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;

Dependencies

More by Arihant jain

View all
  • Footer section

    Footer section

    2K
  • Multistep Form

    Multistep Form

    755
  • Animated Drawer

    Animated Drawer

    703
  • Status Badge

    Status Badge

    598
  • Stacked Circular Footer

    Stacked Circular Footer

    457
  • Input Modal

    Input Modal

    371
  • Profile Dropdown

    Profile Dropdown

    216
  • Large Name Footer

    Large Name Footer

    205

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1