ToolChips

Code edits and tool calls presented as compact, inspectable chips.

Installation

Preview

Source

Adapted from slev12397/beautiful-ui under the MIT License. Commercial icons were replaced and demo analytics were removed; attribution remains bundled with the component foundation.

API Reference

PropTypeDefaultDescription
demobooleanfalsePlays the staged tool-run example.
onToolToggle(tool: string, expanded: boolean) => voidReports tool disclosure changes.
onPreviewChange(file: string | null) => voidReports the inspected diff preview.
onComplete() => voidCalled when tool playback completes.