Weekly Availability Settings

Weekly availability settings card for bookings and scheduling: a switch and a first-to-last hour window per weekday, a count of open days, and Save that validates each window and keeps a saved state.

Installation

npx shadcn@latest add @01orbital/weekly-availability-settings

Make it yours

  • Its words are in COPY at the top of components/blocks/settings/weekly-availability-settings/index.tsx: change them there, not in the markup.
  • HOURS and WEEK, also at the top of the file, hold its lists and settings.

Built from

Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

Last updated on