Tag Input
An input for entering multiple tags with keyboard support.
Loading...
import { TagInput } from "@/components/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.
Loading...
"use client"
import * as React from "react"Max Tags
Limit the number of tags with maxTags.
Loading...
import { TagInput } from "@/components/ui/tag-input"
export function TagInputMax() {Disabled
Loading...
import { TagInput } from "@/components/ui/tag-input"
export function TagInputDisabled() {