@gridui/data-cell
v1.3.0
Published
GridUI React data cell
Downloads
2,142
Readme
@gridui/data-cell
Data family. Public API: DataBadge, DataBadgeProps, DataBar, DataBarProps, DataValue, DataValueProps.
Import components from @gridui/data-cell and load @gridui/data-cell/styles.css after Theme.
Applications own routes, labels, state persistence, and branding.
Styles
Load Theme once. Use @gridui/data-cell/styled for automatic component CSS in
CSS-aware bundlers, or keep the CSS-free root import and load @gridui/data-cell/styles.css.
Both entries expose the same root API. The standalone stylesheet includes component
dependency styles; Theme/reset remain separate. See the
integration guide
for static HTML loading, SSR limits, and avoiding duplicate CSS.
See component ownership and release history.
Component reference contains focused API pages for each public component.
DataValue supports direction (column/row), align (start/center/end), and tabular numeric typography independently from mono. Use native description lists with Grid, Row or Stack to assemble labeled readouts without chart dependencies.
Sizing and density
DataBadge accepts size small, medium (default) or large for its passive badge recipe. DataValue retains inherited typography/direction/alignment; DataBar retains numeric ratio and inline visualization geometry. The package has no blanket density prop.
See the shared sizing contract for native attributes, scope precedence, tokens and target behavior.
