Pick a day
MayA one-week day picker with seven compact cells, an accent-filled selection, and muted fully booked days.
The import and the props worth knowing about, in one place.
import { Calendar32 } from "@/components/beste/piece/calendar32";
<Calendar32
surface="card"
bordered={false}
inverted={false}
title="Pick a day"
month="May"
days={[
{
"weekday": "M",
"date": "12",
"slots": 4
},
{
"weekday": "T",
"date": "13",
"slots": 2
},
{
"weekday": "W",
"date": "14",
"slots": 6
},
{
"weekday": "T",
"date": "15",
"slots": 0
},
{
"weekday": "F",
"date": "16",
"slots": 3
},
{
"weekday": "S",
"date": "17",
"slots": 1
},
{
"weekday": "S",
"date": "18",
"slots": 0
}
]}
selectedIndex={2}
/>