Component packs › Almanac › Heat Grid

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.

Heat Grid props

PropTypeDefaultDescription
peoplestring[]
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'
autoplaybooleanShowcase mode: sweeps and selects until touched.

Methods on the ref

Use it in React

import HeatGrid from './HeatGrid';

<HeatGrid />

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

More in Almanac

Good for: Calendar and scheduling.