Ashish Sharma

Tool Approval

Component

About

A human-in-the-loop approval card for agent tools. Shows the exact command and what it will touch. Allow once, always allow or deny, with Esc to deny, and the card settles into a clear result. From Caliper UI (caliperui.site).

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

Code

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

Usage.tsx

import { ToolApproval } from "@/components/ui/tool-approval";

export default function Demo() {
  return <ToolApproval />;
}

More by Ashish Sharma

View all
  • Animated Sidebar

    Animated Sidebar

    1
  • Feedback Widget

    Feedback Widget

  • Notification Stack

    Notification Stack

  • Expandable Tabs

    Expandable Tabs

  • Otp Input

    Otp Input

  • File Upload

    File Upload

  • Voice Orb

    Voice Orb

  • Streaming Chat

    Streaming Chat