2.23.0
Grid Component
A flexible 12-column grid with responsive breakpoint options. Part of the Bolt “Components” CSS framework that powers the Bolt Design System.
npm install @bolt/components-grid
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) |
---|---|---|---|---|
attributes |
A Drupal-style attributes object with extra attributes to append to this component. |
object
|
— |
|
gutter |
Spacing between the columns of the grid. |
string
|
medium
|
|
row_gutter |
Spacing between the rows of the grid. |
string
|
medium
|
|
items |
Array of grid items to render inside the grid. |
array
|
— |
|