docs/components/display/SignalGrid

SignalGrid

Grid of signal strength indicators.

import { SignalGrid } from '@ybouhjira/hyperkit';

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
cells *SignalGridCell[]Array of cells to display.
columnsnumberundefined (auto)Number of columns. Defaults to auto (fills available width).
colorScale(value: number) => stringFunction mapping 0–1 value to a CSS color string. Defaults to muted→warning→success scale.
cellSizenumber16Cell size in pixels.
gapnumber1Gap between cells in pixels.
classstringAdditional CSS classes.
styleimport('solid-js').JSX.CSSPropertiesInline styles.

* required prop.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-duration-fast