Calm motion: animations on this site only fade, with no movement
Availability grid
A week of time cells, to mark when a person is free
Lets a person mark the times when they are free, for example to find a time to record with a guest. A drag over the cells marks them. To pick one free time that you offer, use the slot picker.
Basic
| Mon | Tue | Wed | Thu | Fri | |
|---|---|---|---|---|---|
| 9:00 AM | busy | busy | busy | busy | busy |
| 9:30 AM | busy | busy | busy | busy | busy |
| 10:00 AM | busy | free | busy | busy | busy |
| 10:30 AM | busy | free | busy | busy | busy |
| 11:00 AM | busy | free | busy | busy | busy |
| 11:30 AM | busy | busy | busy | busy | busy |
| 12:00 PM | busy | busy | busy | busy | busy |
| 12:30 PM | busy | busy | busy | busy | busy |
| 1:00 PM | busy | busy | busy | busy | busy |
| 1:30 PM | busy | busy | busy | busy | busy |
| 2:00 PM | busy | busy | busy | free | busy |
| 2:30 PM | busy | busy | busy | free | busy |
| 3:00 PM | busy | busy | busy | busy | busy |
| 3:30 PM | busy | busy | busy | busy | busy |
| 4:00 PM | busy | busy | busy | busy | busy |
| 4:30 PM | busy | busy | busy | busy | busy |
Free: 2.5 hours
daysare the columns. They can be any text, for exampleMonor2026-11-16. The rows are the times fromday-starttoday-end(default 9 to 18), in cells ofstepminutes (default 30).v-modelis the list of free cells, each asday HH:MM, for exampleMon 09:30. Your app turns it into a time on a date.- A drag paints the rectangle from the first cell to the current one. If the first cell is busy, the drag marks the cells free. If it is free, the drag marks them busy. A drag works with a finger too.
- The grid has one Tab stop. The arrow keys move between the cells. Home and End go to the first and last day. Space or Enter marks a cell free or busy.
- Screen readers hear the day, the time, and "free" or "busy" for each cell.
localeshows the times in the format of a language.disabledmakes the grid read-only. - Change the words with
labelsor a label pack:label(the name of the grid),free, andbusy.
Usage
ts
import { BlessAvailabilityGrid } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
days* | string[] | — | the columns: any text, for example `Mon` or `2026-11-16` |
dayStart | number | 9 | the first and the last hour (0–24) |
dayEnd | number | 18 | |
step | number | 30 | minutes in one cell |
locale | string | — | shows the times in the format of this locale |
disabled | boolean | — | |
labels | Partial<{ label: string; free: string; busy: string; }> | — | |
modelValue | string[] | [] | the free cells, each as `day HH:MM`, for example `Mon 09:30` |
Events
| Name | Payload | Description |
|---|---|---|
update:modelValue | [value: string[]] |