{% set button_1 %}
{% include "@bolt-components-button/button.twig" with {
text: "Learn More",
hierarchy: "primary"
} only %}
{% endset %}
{% set button_2 %}
{% include "@bolt-components-button/button.twig" with {
text: "About Pega",
hierarchy: "secondary"
} only %}
{% endset %}
{% include "@bolt-components-button-group/button-group.twig" with {
buttons: [
button_1,
button_2
]
} %}
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
tag
|
Set the HTML tag for the button group container. |
string
| — |
|
buttons
|
An array of buttons. |
array
| — |
|
npm install @bolt/components-button-group