21st

Todo Tool

AI chats 11

About

Render task list with status icons (pending / in_progress / completed) and an optional shimmer 'Updating to-dos...' streaming state. Self-contained port from 21st.dev Agent Elements with inline SVG icons + shimmer keyframes.

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

Code

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

Usage.tsx

import { TodoTool } from "@/components/ui/todo-tool";

export default function Demo() {
  return (
    <div className="flex items-center justify-center w-full min-h-screen bg-background p-8 overflow-hidden">
      <div className="w-fit">
        <TodoTool state="streaming" />
      </div>
    </div>
  );
}

Dependencies

More by 21st

View all
  • Spline Scene

    Spline Scene

    9.7K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.4K
  • Gradient Button

    Gradient Button

    2K
  • Pixel Canvas

    Pixel Canvas

    923
  • Animated Blur Number

    Animated Blur Number

    834
  • Empty State

    Empty State

    795
  • Balloons

    Balloons

    788
  • Status Badge

    Status Badge

    688

More in AI chats

View all
  • AI Actions

    AI Actions

    341
  • Aquarium Prompt

    Aquarium Prompt

    60
  • Commit

    Commit

    34
  • Cost Meter

    Cost Meter

    49
  • Research Report

    Research Report

    2
  • Agent Chat

    Agent Chat

    19
  • Streaming Text

    Streaming Text

    26
  • Color Picker

    Color Picker

    174