Component packs › Almanac › Heat Grid
Each half hour glows by how many people are free; hover and their faces fly in, drag to paint a slot whose outline springs to the selection.
Heat Grid is an availability 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: heat cells, paint select, grid keys.
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 |
|---|---|---|---|
people | string[] | ||
free | (day: number, slot: number) => string[] | Who is free on a day (0–4) and half-hour slot (0–15 from 9:00). | |
onSelect | (day: number, fromSlot: number, toSlot: number) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: sweeps and selects until touched. |
destroy(): voidimport HeatGrid from './HeatGrid';
<HeatGrid />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calendar and scheduling.