feat: add DatePicker component#5035
Open
hazrid93 wants to merge 1 commit into
Open
Conversation
Addresses callstack#4256. Adds a Material 3 calendar date picker that lets the user pick a date from a monthly grid. Controlled by a value Date, calls onChange with the selected date when a day is pressed. Renders a header with the month and year plus prev and next navigation that moves one month at a time and wraps the year at the December and January boundary, a weekday label row, and a full six week 42 cell grid of days including leading days from the previous month and trailing days from the next month. Highlights the selected day and disables days before an optional min date and after an optional max date. Each day exposes a button accessibility role and an accessibility label. The component is exported from the public surface. This covers the date picker half of the linked issue, with a companion time picker proposed separately.
hazrid93
force-pushed
the
hazrid93/4256_date_picker
branch
from
July 20, 2026 11:58
c8f69d3 to
f633e22
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: add DatePicker component
Addresses #4256.
Adds a Material 3 calendar date picker that lets the user pick a date from a monthly grid. Controlled by a value Date, calls onChange with the selected date when a day is pressed.
Renders a header with the month and year plus prev and next navigation that moves one month at a time and wraps the year at the December and January boundary, a weekday label row, and a full six week 42 cell grid of days including leading days from the previous month and trailing days from the next month. Highlights the selected day and disables days before an optional min date and after an optional max date. Each day exposes a button accessibility role and an accessibility label. The component is exported from the public surface. This covers the date picker half of the linked issue, with a companion time picker proposed separately.