Number field
Enter a bounded number with clear increment controls.
Turn short text values into removable tags.
npx shadcn@latest add @silicon-ui/tag-inputnpx shadcn@latest add @silicon-ui/tag-inputInstall the dependencies.
npm install lucide-react motionCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/tag-input/tag-input.tsxcomponents/silicon-ui/tag-input/tag-input.module.cssInstall the foundation once per app for the design and motion tokens: npx shadcn@latest add @silicon-ui/silicon-foundation
| Prop | Type | Default |
|---|---|---|
label* | string | — |
value | string[] | — |
defaultValue | string[] | [] |
onValueChange | (value: string[]) => void | — |
placeholder | string | "Add a tag" |
description | string | — |
id | string | — |