Calendar
Browse dates in a clear, compact month view.
Choose a time with sensible keyboard behavior.
npx shadcn@latest add @silicon-ui/time-pickernpx shadcn@latest add @silicon-ui/time-pickerInstall the dependencies.
npm install lucide-react motionCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/time-picker/time-picker.tsxcomponents/silicon-ui/time-picker/time-picker.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 | "09:00" |
onChange | (value: string) => void | — |
description | string | — |
placeholder | string | "Select a time" |
minuteStep | 1 | 5 | 10 | 15 | 30
| 15 |
format | "12h" | "24h" | "12h" |
disabled | boolean | false |
className | string | — |