Component packs › Almanac › Week Planner
Drag an event and it follows you, then snaps to 15 minutes; stretch it by its edge; overlapping events slide over to share the column.
Week Planner is a week view from Almanac, a component pack with 8 components: Calendar and scheduling components with a feel for time. Price: $2 for the whole pack.
Built with: snap springs, overlap lanes, keyboard move.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
events | PlannerEvent[] | ||
from | number | 8–17 | First and last hour shown. Default 8–17. |
to | number | ||
days | string[] | ||
onChange | (events: PlannerEvent[]) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: moves and stretches events until touched. |
readonly events: PlannerEvent[]destroy(): voidimport WeekPlanner from './WeekPlanner';
<WeekPlanner />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calendar and scheduling.