pedrolunet

Arc Spinner

Component

About

A tiny rotating-arc loading spinner (an open stroke spinning in a circle) for inline loading states in buttons, fields, or panels. Ported to React from Pedro Lunet's loadsv Svelte spinner library (MIT).

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

Code

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

Usage.tsx

import Arc from "@/components/ui/arc";

export default function ArcDemo() {
  return (
    <div className="flex items-center justify-center w-full h-screen bg-background text-foreground">
      <Arc size={48} />
    </div>
  );
}

More by pedrolunet

View all
  • Spark Spinner

    Spark Spinner

    8
  • Slide Spinner

    Slide Spinner

    6
  • Swirl Spinner

    Swirl Spinner

    5
  • Ribbon Spinner

    Ribbon Spinner

    4
  • Clock Spinner

    Clock Spinner

    4
  • Wave Spinner

    Wave Spinner

    3
  • Flip Spinner

    Flip Spinner

    3
  • Linear Dots Spinner

    Linear Dots Spinner

    2