Sean Hello

ReUI Spinner

Component

About

ReUI Spinner with the first 10 official ReUI examples, preserved from the MIT-licensed source registry.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds ReUI Spinner to your project and fits it to your theme.

Code

How ReUI Spinner is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Button } from "@/components/ui/reui-spinner-utils/button"
import {
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/components/ui/reui-spinner-utils/empty"
import { Spinner } from "@/components/ui/reui-spinner"

export default function Pattern() {
  return (
    <div className="flex items-center justify-center">
      <Empty className="min-h-[300px] w-full max-w-md">
        <EmptyHeader>
          <EmptyMedia variant="icon">
            <Spinner className="size-4" />
          </EmptyMedia>
          <EmptyTitle>Loading projects</EmptyTitle>
          <EmptyDescription>
            Please wait while we fetch your project data. This should only take
            a moment.
          </EmptyDescription>
        </EmptyHeader>
        <EmptyContent>
          <Button variant="outline" disabled>
            Cancel
          </Button>
        </EmptyContent>
      </Empty>
    </div>
  )
}

// Rebuild the demo when the shared Spinner implementation changes.

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.7K
  • Line Charts 9

    Line Charts 9

    726
  • Alert

    Alert

    511
  • Line Charts 6

    Line Charts 6

    419
  • Area Charts 1

    Area Charts 1

    409
  • Scroll Area

    Scroll Area

    381
  • Navigation Menu

    Navigation Menu

    356
  • Statistics Card 7

    Statistics Card 7

    335