Tag Input
Enter multiple unique tags
import { TagInput } from "@plexui/ui/components/TagInput";Examples
Overview
rows
autoFocus
Reference
| Prop | Type | Default | Description |
|---|---|---|---|
value | Tag[] | — | Controlled value |
defaultValue | Tag[] | — | Uncontrolled initial tags |
onChange | (tags: Tag[]) => void | — | Change handler |
placeholder | string | — | Input placeholder |
validator | (value: string) => boolean | — | Validates each tag; invalid tags shown in red |
maxTags | number | — | Max tags before input is disabled |
rows | number | 1 | Min rows |
size | string | xl | Control height when rows=1 |
autoFocus | boolean | false | Focus on mount |