Overview
A flexible 12-column grid with responsive breakpoint options. Part of the Bolt “Components” CSS framework that powers the Bolt Design System.
Install via NPM
npm install @bolt/components-grid
Usage
Schema
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
|
Spacing between the columns of the grid. |
string
|
medium
|
|
|
Spacing between the rows of the grid. |
string
|
medium
|
|
|
Array of grid items to render inside the grid. |
array
| — |
|