Ashish Sharma

Loader

Component

About

A small indeterminate loading indicator shown in four shapes — spinner, dots, bars, or morph — for signalling that content is still loading.

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

Code

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

Usage.tsx

import Loader from "@/components/ui/loader";

export default function LoaderDemo() {
  return (
    <div className="flex items-center justify-center gap-10 p-10">
      <Loader variant="spinner" size={28} />
      <Loader variant="dots" size={28} />
      <Loader variant="bars" size={28} />
      <Loader variant="morph" size={28} />
    </div>
  );
}

Dependencies

More by Ashish Sharma

View all
  • Perspective Gallery

    Perspective Gallery

    149
  • Bento Features

    Bento Features

    27
  • Animated Sidebar

    Animated Sidebar

    25
  • Otp Input

    Otp Input

    25
  • Glow Ring

    Glow Ring

    20
  • Notification Stack

    Notification Stack

    11
  • Expandable Tabs

    Expandable Tabs

    11
  • Voice Orb

    Voice Orb

    8