Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA two-step picker that asks for the year first, then the month, with a back button and a summary, which is quicker than paging months for dates far away. Use this when the date is years from now or ago and paging month by month would take too long.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when the date is years from now or ago and paging month by month would take too long.
Do not use it for dates in the next few weeks; use calendar-grid.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
| value / defaultValue / onValueChange | string | null | null | YYYY-MM. |
| minYear / maxYear | number | 1900 / 2100 | Year limits. |
| today / locale | - | - | Reference and locale. |
The pattern ships with a Testing Library test (year-month-drilldown.test.tsx) that covers the two steps, going back, the result and the limits.