Icon
Getting Started
Icon. Part of the Bolt “Components” CSS framework that powers the Bolt Design System.
Install via NPM
npm install @bolt/components-icon
Usage
{% include "@bolt-components-icon/icon.twig" with {
name: "add-open",
background: "circle",
size: "medium",
} only %}
Schema
Name | Type | Value(s) | Description | Default |
---|---|---|---|---|
name* | string
|
|
Icon name. |
N/A |
background | string
|
|
Background shape. This applies only to 'xlarge' icons. |
N/A |
size | string
|
|
Icon size. |
N/A |
color | string
|
|
Icon color. Currently only support default (black) and teal. |
N/A |