Cells
GraphCells
Grid of filled and empty cells, drawn with glyphs. Useful for density or comparing two sets.
Command
pnpm dlx shadcn@latest add <origin>/r/graph-cells.jsonTwo ways to learn
Sparse fragments versus a filled grid.
fragments
a system
Coverage
A single grid. Empty cells stay as the quiet glyph.
this week
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| items | CellGrid[] | — | Each item is a labeled 0/1 matrix. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| corner | string | "+" | Character at each corner of the frame. |
| className | string | — | Passed to the outer frame. |