pedrolunet

Ring Spinner

Component

About

A small rotating arc spinner that reads currentColor, for inline loading states in buttons, fields, and panels.

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

Code

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

Usage.tsx

import Ring from "@/components/ui/ring";

export default function RingEasingDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center gap-6">
      <Ring easing="linear" size={32} />
      <Ring easing="ease-in-out" size={32} />
      <Ring easing="stacked" size={32} />
    </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