• Docs
  • Components
  • Blocks
  • Admin
CtrlK
Get Started
  • Introduction
  • Setup
  • CLI
  • VS Code Extension
  • Figma Code Connect
  • MCP Server
  • llms.txt
  • Changelog
Foundations
  • Design Tokens
  • Theming & Modes
  • Semantic Colors
  • Spacing
  • Typography
Testing
  • Test Guide
  • Performance Tests
  • Visual Regression
Components
  • Accordion
  • Activity Feed
  • Alert
  • Avatar
  • Badge
  • Breadcrumbs
  • Button
  • Card
  • Carousel
  • Checkbox
  • Collapsible
  • Combobox
  • Command Palette
  • Context Menu
  • Date Picker
  • Dialog
  • Dropdown Menu
  • File Upload
  • Hover Card
  • Input
  • Kbd
  • Label
  • Menubar
  • Metric Card
  • Multi Select
  • Navigation Menu
  • Pagination
  • Popover
  • Progress
  • Quick Actions
  • Radio
  • Rating
  • Resizable
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Skeleton
  • Slider
  • Spinner
  • Split Button
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Textarea
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree View
Blocks
  • Activity Feed
  • App Shell
  • Authentication Block
  • Benefits Section
  • Cta Section
  • Data Table
  • Empty State
  • Faq Section
  • Feature Grid Section
  • Footer Section
  • Hero Section
  • Kpi Dashboard
  • Kpi Strip
  • Link Card
  • Metric Card
  • Navigation Header
  • Pagination Footer
  • Pricing Table
  • Quick Actions
  • Settings Screen
Resources
  • API Reference
TabsTextarea
TabsTextarea
TabsTextarea

Tag Input

Enter and manage multiple tags or chips.

Example

design
frontend
1
2
3
4
5
6
7
8
9
10

Install

API Reference

PropTypeDefaultDescription
value?string[]—Controlled array of tag strings (optional)
defaultValue?string[][]Default array of tag strings (optional)
onChange?(tags: string[]) => void—Callback when tags change (optional)
placeholder?string"Add tags..."Placeholder text (optional)
disabled?booleanfalseDisable the input (optional)
maxTags?number—Maximum number of tags allowed (optional)
maxLength?number—Maximum length per tag (optional)
separator?string | RegExp/[,\s]+/Separator to split tags (optional)
allowDuplicates?booleanfalseAllow duplicate tags (optional)
validate?(tag: string) => boolean | string—Validation function (optional)
onTagAdd?(tag: string) => void—Callback when a tag is added (optional)
onTagRemove?(tag: string) => void—Callback when a tag is removed (optional)
className?string—Additional CSS classes (optional)
inputClassName?string—Additional CSS classes for input (optional)
tagClassName?string—Additional CSS classes for tags (optional)