Getting Started
Band is a general content container with spacing and background options. Part of the Bolt Design System.
Install via NPM
npm install @bolt/components-band
Usage
{% include "@bolt-components-band/band.twig" with {
content: "This is a band.",
} only %}
Schema
Name | Type | Value(s) | Description | Default |
---|---|---|---|---|
attributes | object
| |
A Drupal-style attributes object with extra attributes to append to this component. |
N/A |
content |
string OR array OR object |
|
Main content of the band. |
N/A |
pinned_content | object
|
|
Pinned content of the band. |
N/A |
tag | string
|
|
Controls the semantic HTML tag to use for the band's content. |
div
|
size | string
|
|
Controls the vertical spacing of the band. |
medium
|
full_bleed | boolean
| |
If set to true, the band will take the full width of the page. |
true
|
theme | string
|
|
Controls the theme of the band. |
dark
|
row_gutter |
| |
DEPRECATED Please use |
N/A |
content_row_start |
| |
DEPRECATED Please use |
N/A |
items |
| |
DEPRECATED Please use |
N/A |
fullBleed |
| |
DEPRECATED This prop has been renamed. Please use |
N/A |
contentTag |
| |
DEPRECATED This prop is no longer needed. |
N/A |