Heat Grid

Displays a single bounded reading as a matrix of cells that fill as it rises.

Fill60%

Configurations

Supported configurations for this component.

Configurations

6 examples
Live
Fill60%
Low
Mid
High
Dense
No 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/••••••••••••

Light and dark both come with the install and follow the dark class on <html>, the shadcn dark mode setup (next-themes with attribute="class").

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 brand 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 Pro components