Availability Scheduler

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/availability-scheduler

API Reference

value?
WeekAvailability
Default—
defaultValue?
WeekAvailability
Default—
onChange?
((value: WeekAvailability) => void)
Default—
step?
number

Minutes between selectable times. Default 30.

Default30
className?
string
Default—
labels?
Partial<{ toggleDay: string; unavailable: string; addTime: string; addRange: string; remove: string; removeRange: string; copyTimes: string; copyDay: string; copyTo: string; everyDay: string; apply: string; }>

Override any built-in string.

Default—

Keep in mind

Some components on this site are inspired by or recreated from existing work across the web. I'm not here to take credit; just to learn, experiment, and sometimes push things a bit further. If something looks familiar and I forgot to mention you, reach out and I'll fix that right away.

Updated