murad-sinatra

Loaders

Component

About

A set of loading indicators — a spinner for short indeterminate waits, skeleton placeholders for content whose shape is known, and a progress bar for measurable completion.

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

Code

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

Usage.tsx

import { Progress } from "@/components/ui/loaders";

export default function ProgressBarsDemo() {
  return (
    <div
      className="flex w-full items-center justify-center p-10"
      style={{
        background: "var(--mors-color-canvas)",
        color: "var(--mors-color-text)",
      }}
    >
      <div className="flex flex-col gap-5" style={{ width: 360 }}>
        <Progress value={64} label="Uploading assets" showValue />
        <Progress
          value={92}
          tone="success"
          label="Almost done"
          showValue
          size="sm"
        />
        <Progress
          value={18}
          tone="danger"
          label="Storage remaining"
          showValue
        />
        <Progress label="Syncing (indeterminate)" />
      </div>
    </div>
  );
}

More by murad-sinatra

View all
  • Number Field

    Number Field

    1
  • Table

    Table

  • Command Palette

    Command Palette

  • Tooltip

    Tooltip

  • Popover

    Popover

  • Mors Card

    Mors Card

  • Swatch

    Swatch

  • Divider

    Divider