Skip to content

Waffle

GraphWaffle

Grid of 100 cells. The value sets how many are filled in.

Command

pnpm dlx shadcn@latest add <origin>/r/graph-waffle.json

Coverage

One hundred cells. Value is how many are lit.

[ COVERAGE ]

73%

73 of 100 tests green

73 percent. 73 of 100 tests green

Quota

Fewer cells. Same 0–1 value.

[ QUOTA ]

40%

seats used

40 percent. seats used

Props

PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
valuenumberShare from 0 to 1.
cellsnumber100Total cells in the grid.
columnsnumber10Cells per row.
captionstringMuted line under the percent.
glyphs"shade" | "ascii" | "hash" | "bar" | string[]"shade"Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters.
cornerstring"+"Character at each corner of the frame.
classNamestringPassed to the outer frame.