pedrolunet

Dual Spinner

Component 1

About

A loading spinner made of two arcs rotating in opposite directions, ported from the loadsv Svelte spinner library by Pedro Lunet (MIT licensed).

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

Code

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

Usage.tsx

import Dual from "@/components/ui/dual";

export default function DualDemo() {
  return (
    <div className="flex min-h-[300px] w-full items-center justify-center gap-10 bg-background text-foreground">
      <Dual />
      <Dual size={32} />
      <Dual size={48} color="#ff3e00" />
    </div>
  );
}

More by pedrolunet

View all
  • Spark Spinner

    Spark Spinner

    4
  • Wave Spinner

    Wave Spinner

    2
  • Swirl Spinner

    Swirl Spinner

    2
  • Ribbon Spinner

    Ribbon Spinner

    1
  • Flip Spinner

    Flip Spinner

    1
  • Clock Spinner

    Clock Spinner

    1
  • Snake Spinner

    Snake Spinner

  • Ring Spinner

    Ring Spinner