Calendar
A date field component that allows users to enter and edit dates.
June 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
// src/components/ui/calendar.tsx — a server-rendered month grid. Build the cells from the target month,
// mark today/selected, and wire the prev/next buttons to ?month= query params (no client date lib needed).
Installation
$ bext ui add calendar
Copy and paste the following into src/components/ui/calendar.tsx.
// src/components/ui/calendar.tsx — a server-rendered month grid. Build the cells from the target month,
// mark today/selected, and wire the prev/next buttons to ?month= query params (no client date lib needed).
On This Page