Serafim

Tool Group

AI chats 2

About

Collapsible header summarizing nested tool calls (files / searches / commands). State-driven (completed / pending streaming / interrupted) with shimmer label and elapsed time. Self-contained port from 21st.dev Agent Elements.

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

Code

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

Usage.tsx

"use client";

import { ToolGroup } from "@/components/ui/tool-group";

export default function Demo() {
  return (
    <div className="min-h-screen w-full flex items-center justify-center p-6 bg-white dark:bg-neutral-950">
      <div className="w-full max-w-[420px]">
        <ToolGroup
          state="interrupted"
          completeLabel="Task completed"
          shimmerLabel="Running task"
          interruptedLabel="Task interrupted"
        />
      </div>
    </div>
  );
}

Dependencies

More by Serafim

View all
  • Spline Scene

    Spline Scene

    9.9K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.5K
  • Gradient Button

    Gradient Button

    2.1K
  • Pixel Canvas

    Pixel Canvas

    938
  • Animated Blur Number

    Animated Blur Number

    841
  • Balloons

    Balloons

    824
  • Empty State

    Empty State

    812
  • Status Badge

    Status Badge

    708

More in AI chats

View all
  • Agent Chat

    Agent Chat

    21
  • AI Actions

    AI Actions

    372
  • AI Suggestions

    AI Suggestions

    27
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    30
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • Aquarium Prompt

    Aquarium Prompt

    219
  • Message Parts

    Message Parts

    10
  • AI Chat Composer

    AI Chat Composer

    21