Ballmac UI home

Calendar Agenda

A day agenda with native date entry, adjacent-day controls, and accessible event times.

Agenda

Wednesday, September 30

  1. Team check-in

    Review priorities for the week

  2. Design review

    Dashboard and mobile flows

    Product
  3. Release planning

    Milestone

Installation

$ pnpm dlx shadcn@latest add @ballmac/calendar-agenda

Usage

import { CalendarAgenda } from "@/components/ballmac/calendar-agenda"

The full example is in the Code tab above.

Examples

States and variants

Agenda

Friday, October 2

  1. A clear day to focus on deep work.

API reference

PropTypeDefault
events*

Agenda events to display.

AgendaEvent[]—
value

Controlled selected ISO date.

string—
defaultValue

Initial selected ISO date.

string—
onValueChange

Called when the selected date changes.

(date: string) => void—
locale

Fixed locale for date and time labels.

string—
emptyMessage

Empty-day message.

string—

Also accepts the standard attributes of its root element.

Accessibility

KeyAction
Tab / Enter / SpaceChanges the day through native date input and buttons

Use with AI

A day agenda with native date entry, adjacent-day controls, and accessible event times. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Calendar Agenda (@ballmac/calendar-agenda) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Show scheduled events for one day

Not for

  • Use a full calendar for month-level date picking

Registry JSON: https://ui.ballmac.com/r/calendar-agenda.json

Credits

Free to use in personal and commercial projects.