Time Field
An hour and minute input with typed segments and an optional selector, submitting 24-hour HH:mm.
Paste this into your agent.
Time Field takes times without a date: daily summaries, opening hours, reminder times, shift starts. It shows 12- or 24-hour time and supports a minute step in its selector.
Install
bashnpx shadcn@4.18.0 add @siteplane/time-field
Import it from @/siteplane/components/time-field. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Date Time Picker when the time belongs to a specific day.
- vs : Pick Select when only a few fixed time slots are allowed.
- vs : Pick Date Field when the value is a day rather than a time.
Rules
- Treat the value as
{ hour, minute }in 24-hour time, even withhourCycle={12}. - Store
nullfor an empty controlled value.undefinedfromonValueChangemeans cleared. - Set
nameto submitHH:mm, andrequiredwith FieldError for the missing message. - Use
minuteStepfor the selector. The field does not round typed minutes, so validate the step on the server. - Use
iconMode="decorative-start"for compact start/end pairs, and do not pass alocaleprop.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Form Field Validation Timingby UI Skillbook
Validate at the right moment — not on every keystroke, not only on submit.
Forms
Siteplane Attachmentby UI Skillbook
A card for a file or image attached to a message or draft, with upload states and actions.
Siteplane UI
Siteplane Autocompleteby UI Skillbook
A text input that suggests completions while still accepting whatever the person types.
Siteplane UI
Siteplane Calendarby UI Skillbook
An inline month grid for picking a single date, several dates or a range, with unavailable-day rules.
Siteplane UI