dixant

Spinner

Component

About

A small circular loading indicator with size presets and a customizable stroke color, used to show in-progress/loading states.

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 SpinnerCustomColorDemo() {
  return <Spinner color="var(--tatva-color-success)" size="lg" />;
}

More by dixant

View all
  • Tooltip

    Tooltip

    1
  • Select

    Select

  • Tatva Input

    Tatva Input

  • Typography

    Typography

  • Avatar

    Avatar

  • Divider

    Divider

  • Stack

    Stack

  • Alert

    Alert