Subhan Uddin

Bouncing Square

Component 15

About

A small bouncing square loading indicator that squashes and stretches as it hops, for showing inline loading or busy states.

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

Code

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

Usage.tsx

import BouncingSquare from "@/components/ui/bouncing-square";

export default function BouncingSquareDemo() {
  return (
    <div className="flex items-center justify-center w-full h-screen bg-background">
      <BouncingSquare />
    </div>
  );
}

Dependencies

More by Subhan Uddin

View all
  • Dither Donut Chart

    Dither Donut Chart

    126
  • Interactive 3D Card Carousel

    Interactive 3D Card Carousel

    89
  • Dither Growth Chart

    Dither Growth Chart

    31
  • Dots Ring

    Dots Ring

    30
  • Waveform Loader

    Waveform Loader

    19
  • Page Transition

    Page Transition

    18
  • Intersecting Rings

    Intersecting Rings

    15
  • Dynamic Island Loader

    Dynamic Island Loader

    14