mayurrawte

Loader

Component

About

A small spinning loading indicator with configurable size and color variant, used to show a pending/loading state inline in a UI.

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 function Example() {
  return (
    <div className="flex items-center gap-4">
      <Loader size="sm" />
      <Loader size="md" />
      <Loader size="lg" variant="muted" />
    </div>
  );
}

export default Example;

More by mayurrawte

View all
  • MCP Scope Inspector

    MCP Scope Inspector

    2
  • Feedback Buttons

    Feedback Buttons

    2
  • Tooltip

    Tooltip

    2
  • Skeleton

    Skeleton

    2
  • Accordion

    Accordion

    1
  • MCP Resource Browser

    MCP Resource Browser

  • MCP App Frame

    MCP App Frame

  • Counter

    Counter