21st

Spiral Loader

Component 13

About

Two-phase Lottie spiral loader for streaming agents. Self-contained port from 21st.dev Agent Elements.

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

Code

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

Usage.tsx

import { SpiralLoader } from "@/components/ui/spiral-loader";

export default function Demo() {
  return (
    <div className="flex h-full w-full items-center justify-center p-8">
      <div className="flex items-center gap-4">
        <SpiralLoader size={16} />
        <SpiralLoader size={24} />
        <SpiralLoader size={32} />
      </div>
    </div>
  );
}

Dependencies

More by 21st

View all
  • Spline Scene

    Spline Scene

    9.4K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.3K
  • Gradient Button

    Gradient Button

    1.9K
  • Pixel Canvas

    Pixel Canvas

    899
  • Animated Blur Number

    Animated Blur Number

    830
  • Empty State

    Empty State

    774
  • Balloons

    Balloons

    755
  • Status Badge

    Status Badge

    642