Dylan Hobbs

Customizable Loader / Spinner / Transition

Component 62

About

Set number of squares and speed. Pause at certain points. Scale to a size you like and have fun. Can also create cool effects such as a hero/feature or transition animations. ** Reload

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

Code

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

Usage.tsx

import Component from "@/components/ui/customizable-loader-spinner-transition";

const settings = { speed: 0.35, squareCount: 12, isPaused: false };

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <Component {...s} />
    </div>
  );
}

More by Dylan Hobbs

View all
  • Generative Art

    Generative Art

    179
  • Bloom

    Bloom

    99
  • Cool Blob Effect

    Cool Blob Effect

    38
  • Zima Blue!

    Zima Blue!

    11