primitives/@mihcm/ui·v0.21.0·stable
CheckboxGrid
Multi-select grid with summary, view tabs (All / Selected / Unselected), bulk select-all/clear, filter, and responsive grid. Web only.
Live preview
Adjust the controls on the right; the preview and code update in real time.
2 selected·7 remaining
example.tsxtsx
import { CheckboxGrid } from '@mihcm/ui/CheckboxGrid';
export function Example() {
return (
<CheckboxGrid
columns="3"
layout="fixed"
density="comfortable"
showToolbar
items={demoItems.slice(0, 9)}
></CheckboxGrid>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add CheckboxGridCopies the source into
components/ds/CheckboxGrid.tsx. You own the file. Use --out to override the directory or --force to overwrite.