Subhan Uddin

Square Spinner

Component

About

A small rotating square loading spinner with an inner dot, used to indicate a loading or processing state.

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

Code

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

Usage.tsx

import SquareSpinner from "@/components/ui/square-spinner";

export default function SquareSpinnerDemo() {
  return (
    <div className="flex items-center justify-center w-full h-64">
      <SquareSpinner />
    </div>
  );
}

Dependencies

More by Subhan Uddin

View all
  • Dither Donut Chart

    Dither Donut Chart

    91
  • Interactive 3D Card Carousel

    Interactive 3D Card Carousel

    59
  • Dither Growth Chart

    Dither Growth Chart

    26
  • Dots Ring

    Dots Ring

    25
  • Waveform Loader

    Waveform Loader

    17
  • Page Transition

    Page Transition

    14
  • Bouncing Square

    Bouncing Square

    13
  • Dynamic Island Loader

    Dynamic Island Loader

    12