Extend

Spinner

Cards

About

An accessible loading spinner indicator built on Base UI styling conventions.

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/spinner";
export default function Default() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background">
      <div className="flex items-center gap-4 rounded-xl border bg-card px-8 py-6 text-card-foreground shadow-sm">
        <Spinner className="size-10" />
        <span className="text-lg font-medium">Loading document</span>
      </div>
    </div>
  );
}

Dependencies

More by Extend

View all
  • Bounding Box Citations

    Bounding Box Citations

    51
  • Layout Blocks

    Layout Blocks

    13
  • Color Picker

    Color Picker

    6
  • Autocomplete

    Autocomplete

  • Tooltip

    Tooltip

  • Popover

    Popover

  • Separator

    Separator

  • Input

    Input

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    301
  • Statistics Card 2

    Statistics Card 2

    272
  • Stats cards with links

    Stats cards with links

    82
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    184
  • Card Studio

    Card Studio

    35
  • Card

    Card

    70
  • Card

    Card

    18