Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA quiet-hours rule with an on switch, an overnight time range and weekdays that says whether quiet hours are active at the current moment. Use this when notifications should pause during set hours and people want to see if the rule is in force right now.
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 notifications should pause during set hours and people want to see if the rule is in force right now.
Do not use it for one-off muting; use snooze-until-menu.
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 | { enabled; days; window } | off, every day, 22:00-07:00 | The rule. |
| onValueChange | (rule, activeNow: boolean) => void | - | The rule and whether it is active at now. |
| now | string | clock | Local date-time to test. |
The pattern ships with a Testing Library test (do-not-disturb-schedule.test.tsx) that covers the active test before and after midnight, the day a window starts on, and the switch.