Component packs › Almanac › Week Planner

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.

Week Planner props

PropTypeDefaultDescription
eventsPlannerEvent[]
fromnumber8–17First and last hour shown. Default 8–17.
tonumber
daysstring[]
onChange(events: PlannerEvent[]) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: moves and stretches events until touched.

Methods on the ref

Use it in React

import WeekPlanner from './WeekPlanner';

<WeekPlanner />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Almanac

Good for: Calendar and scheduling.