- Display existing tags as removable chips
- ”+” button to add new tags
- Enter to confirm, Escape to cancel
- Auto-saves on add/remove
Props
string[]
required
tags
(tags: string[]) => void
required
onUpdate
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
CustomerTagsEditor component
import { CustomerTagsEditor } from '@/components/CustomerTagsEditor';
export default function Example() {
return (
<CustomerTagsEditor tags={tags} onUpdate={onUpdate} />
);
}