Heat Grid

A 2-D matrix fill gauge — the cousin of ProgressBar. Cells fill from the bottom-centre outward in a widening pyramid as the value rises, with a dim-to-bright accent ramp toward the wave front. Scroll-gated fill, optional percentage readout.

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/andromeda-heat-grid
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Props

Every prop this component accepts. Any other prop is forwarded to the underlying element.

PropTypeDefaultDescription
valuenumber00–100 fill level (clamped).
colsnumber7Number of columns in the cell matrix.
rowsnumber5Number of rows in the cell matrix.
cellSizenumber22px per cell side.
gapnumber3px between cells.
showValuebooleantrueRender the accent percentage readout beside the grid.
unitstring'%'Suffix appended to the value readout.
labelstring-Accessible name for the meter.
classNamestring-Extra class names for the root element.
styleReact.CSSProperties-Inline styles merged onto the root element.

More Andromeda components