TailGrids

Spinner

Forms

About

A React spinner component used as a loading indicator during ongoing processes. Displays animated spinners to show loading states in applications.

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 { Spinner } from "@/components/ui/tailgrids-spinner"

export default function SpinnerPreview() {
  return (
    <div className="flex flex-wrap items-center gap-8">
      <div className="flex flex-col items-center gap-2">
        <Spinner type="default" />
        <span className="text-xs text-muted-foreground">Default</span>
      </div>
      <div className="flex flex-col items-center gap-2">
        <Spinner type="dotted" />
        <span className="text-xs text-muted-foreground">Dotted</span>
      </div>
      <div className="flex flex-col items-center gap-2">
        <Spinner type="dotted-round" />
        <span className="text-xs text-muted-foreground">Dotted Round</span>
      </div>
    </div>
  );
}

Dependencies

More by TailGrids

View all
  • Text Field

    Text Field

  • Number Field

    Number Field

  • Breadcrumbs

    Breadcrumbs

  • Radio Button

    Radio Button

  • Field

    Field

  • Social Login Buttons

    Social Login Buttons

  • Link

    Link

  • Textarea

    Textarea

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    33
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    95
  • Premium Auth

    Premium Auth

    614
  • Onboarding Stepper

    Onboarding Stepper

    13
  • Authentication Card

    Authentication Card

    52