Utility
AI
Terminal
tag-demo
No opentui live preview is registered for this example yet.
Installation
pnpm dlx shadcn@latest add @termcn/tag
Usage
import { Tag } from "@/components/ui/tag";<Tag>typescript</Tag>API Reference
Tag
| Prop | Type | Default |
|---|---|---|
children | ReactNode | required |
onRemove | () => void | undefined |
color | string | undefined |
variant | "default" | "outline" | "default" |