Skip to content

feat: add TimePicker component#5036

Open
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4256_time_picker
Open

feat: add TimePicker component#5036
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4256_time_picker

Conversation

@hazrid93

Copy link
Copy Markdown

feat: add TimePicker component

Addresses #4256.

Adds a Material 3 time picker that lets the user choose an hour and minute. Controlled by a value Date, reading only the hour and minute, and calls onChange with a new Date carrying the chosen time.

Renders hour and minute fields, each with up and down steppers that increment or decrement and wrap at the field boundary. In 12 hour mode shows an AM/PM toggle that shifts the period by 12 hours, with midnight shown as 12; in 24 hour mode the toggle is hidden. In range adjustments never change the date part of the value. An optional minute step controls how many minutes a single step moves. The component is exported from the public surface. Companion to the date picker proposal, together covering the linked issue.

@callstack-bot

callstack-bot commented Jul 20, 2026

Copy link
Copy Markdown

Hey @hazrid93, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

Addresses callstack#4256.

Adds a Material 3 time picker that lets the user choose an hour and minute. Controlled by a value Date, reading only the hour and minute, and calls onChange with a new Date carrying the chosen time.

Renders hour and minute fields, each with up and down steppers that increment or decrement and wrap at the field boundary. In 12 hour mode shows an AM/PM toggle that shifts the period by 12 hours, with midnight shown as 12; in 24 hour mode the toggle is hidden. In range adjustments never change the date part of the value. An optional minute step controls how many minutes a single step moves. The component is exported from the public surface. Companion to the date picker proposal, together covering the linked issue.
@hazrid93
hazrid93 force-pushed the hazrid93/4256_time_picker branch from ce35224 to 211d528 Compare July 20, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants