tom

Spinner

Component 202

About

A loading spinner component with customizable size and color.

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

import { Spinner } from "@/components/ui/spinner"

export default function Demo() {
  return (
    <div className="flex items-center justify-center min-h-[400px] p-8">
      <Spinner className="w-10 h-10" />
    </div>
  )
}

More by tom

View all
  • Shimmer Text

    Shimmer Text

    1.1K
  • Special Text

    Special Text

    1.1K
  • Animated Gradient

    Animated Gradient

    1.1K
  • Tilt Card

    Tilt Card

    900
  • Marquee

    Marquee

    795
  • Text Marquee

    Text Marquee

    752
  • QR Code

    QR Code

    475
  • Animated Checkbox

    Animated Checkbox

    392