Tag Input
An input for entering multiple tags with keyboard support.
import { TagInput } from "@/registry/ui/tag-input"
const frameworks = [Installation
pnpmnpmyarnbun
Usage
import { TagInput } from "@/components/ui/tag-input"<TagInput defaultValue={["React", "TypeScript"]} />Examples
Controlled
Control tags with value and onChange.
"use client"
import * as React from "react"Max Tags
Limit the number of tags with maxTags.
import { TagInput } from "@/registry/ui/tag-input"
export default function TagInputMax() {Disabled
import { TagInput } from "@/registry/ui/tag-input"
export default function TagInputDisabled() {