Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Availability Scheduler

Preview

Monday
–
Tuesday
–
Wednesday
–
Thursday
–
Friday
–
Saturday
Unavailable
Sunday
Unavailable

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/availability-scheduler

Import the shared styles once in your application.

TSUsage
import AvailabilityScheduler from '@/components/beui/blocks/AvailabilityScheduler.vue'
import '@/components/beui/styles.css'

API Reference

value?
WeekAvailability
Default—
defaultValue?
WeekAvailability
Default—
@update:model-value?
(value: WeekAvailability) => void
Default—
step?
number

Minutes between selectable times. Default 30.

Default30
className?
string
Default—
labels?
Partial<typeof availabilitySchedulerMessages>

Override any built-in string.

Default—
v-model?
WeekAvailability
Default—
locale?
string

BCP 47 locale for weekday names and time labels; English when unset.

Default—
@change?
(value: WeekAvailability) => void
Default—

Updated