Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA first, second, third, fourth or last weekday of the month rule, such as the second Tuesday, that lists the next dates and handles months with no fifth occurrence. Use this when something repeats on a pattern like the second Tuesday of every month, which a day number cannot express.
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 something repeats on a pattern like the second Tuesday of every month, which a day number cannot express.
Do not use it for a fixed day number; use bill-due-day-of-month.
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 | { nth: 1 | 2 | 3 | 4 | -1; weekday: number } | second Tuesday | Rule. |
| onValueChange | (rule, dates: string[]) => void | - | Rule and the next dates. |
| from | string | today | Start looking from this day. |
| count | number | 5 | Dates to list. |
The pattern ships with a Testing Library test (monthly-on-nth-weekday.test.tsx) that covers the nth weekday in different months, the last weekday, and the next dates from a day inside the month.