pedrolunet

Spark Spinner

Component

About

A loading spinner with eight long and short petals that flare outward in a traveling wave while the whole shape slowly turns, for inline loading states in buttons, fields, or panels. Ported from loadsv's Svelte "Spark" spinner by Pedro Lunet.

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

Code

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

Usage.tsx

import Spark from "@/components/ui/spark";

export default function SparkDurationDemo() {
  return (
    <div className="flex items-center justify-center min-h-40">
      <Spark duration={2800} size={32} />
    </div>
  );
}

More by pedrolunet

View all
  • 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
  • Dual Spinner

    Dual Spinner

    2