pedrolunet

Flip Spinner

Component 1

About

A small square loading spinner that flips over on one axis then the other, used as an inline loading indicator inside buttons, fields, toasts or panels while content loads. Ported to React from loadsv's Svelte Flip spinner by Pedro Lunet.

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

Code

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

Usage.tsx

import Flip from "@/components/ui/flip";

export default function FlipDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center">
      <Flip size={48} />
    </div>
  );
}

More by pedrolunet

View all
  • Spark Spinner

    Spark Spinner

    3
  • Clock Spinner

    Clock Spinner

    1
  • Wave Spinner

    Wave Spinner

  • Swirl Spinner

    Swirl Spinner

  • Snake Spinner

    Snake Spinner

  • Ring Spinner

    Ring Spinner

  • Slide Spinner

    Slide Spinner

  • Ribbon Spinner

    Ribbon Spinner