114
Your week on one strip and your day on a timeline, where you can drag a meeting to a new time and see straight away if it clashes with another.
akacalendar·schedule
Run this in any project set up for the shadcn CLI. It copies the Week Agenda source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/week-agenda.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { WeekAgenda } from "@/components/week-agenda";
export default function Page() {
return <WeekAgenda />;
}A free React component in the Workspace collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Week Agenda source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| calendarsrequired | AgendaCalendar[] | — |
| eventsrequired | AgendaEvent[] | — |
| now | Date | — |
| startHour | number | 8 |
| endHour | number | 19 |
| snap | number | 15 |
| onEventChange | (event: AgendaEvent) => void | — |
| className | string | — |