Edu Calvo

AI Loader

AI chats 84

About

Working indicator in dots, bar and grid variants with an optional elapsed timer, tuned so it reads as progress rather than noise. Respects prefers-reduced-motion.

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

Code

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

Usage.tsx

"use client";

import Component from "@/components/ui/ai-loader";

export default function DemoOne() {
  return (
    <div className="flex min-h-[440px] w-full items-center justify-center bg-background p-10">
      <div className="w-full max-w-md rounded-2xl border bg-card p-8 shadow-sm">
        <p className="font-semibold text-foreground text-sm">Working</p>
        <div className="mt-6 space-y-7">
          <Component label="Thinking" showElapsed variant="dots" />
          <Component label="Reading the repository" showElapsed variant="bar" />
          <Component label="Running the test suite" variant="grid" />
        </div>
      </div>
    </div>
  );
}

Dependencies

More by Edu Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    262
  • AI Task List

    AI Task List

    180
  • Pixel Flow Field

    Pixel Flow Field

    177
  • Siri Orb

    Siri Orb

    172
  • Cursor Follow

    Cursor Follow

    162
  • Gravity Stars

    Gravity Stars

    147
  • Agent Avatar

    Agent Avatar

    144
  • Coverflow Carousel

    Coverflow Carousel

    126

More in AI chats

View all
  • AI Actions

    AI Actions

    336
  • Aquarium Prompt

    Aquarium Prompt

    18
  • Agent Chat

    Agent Chat

    18
  • Attachments

    Attachments

    32
  • Color Picker

    Color Picker

    158
  • Message Thread

    Message Thread

    55
  • Commit

    Commit

    27
  • Chat Bubble

    Chat Bubble

    195

Explore more

Part of SmoothUI — browse the full library on 21st.dev.