DashboardGrid
A 12-column widget grid that reflows on CONTAINER width.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
A 12-column widget grid that reflows on CONTAINER width.
Accessibility
Fully keyboard operable: Tab to focus, Enter/Space to activate. The visible focus ring uses --focus-ring — never remove it. Provide an accessible label (aria-label) for icon-only controls.
Install and import
npx shadcn@latest add @prism/dashboard-grid
import { DashboardGrid } from '@/components/prism/DashboardGrid';
In a no-build prototype, read it from the bundle instead: const { DashboardGrid } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
children | React.ReactNode | — | WidgetFrame children, each carrying its own span. |
dense | boolean | — | Tighter gaps for operational dashboards on a single screen. |
className | string | — |