pedrolunet

Dual Spinner

Component

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
  • Circular Dots Spinner

    Circular Dots Spinner