{% include '@bolt-elements-icon/icon.twig' with {
name: 'bell-solid',
} only %}
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
attributes
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
name
|
Name of Icon |
string
| — |
|
size
|
Set icon size. If size is not set, the icon size will default to text size. |
string
| — |
|
color
|
Set the icon color. If color is not set, the icon will default to text color. |
string
| — |
|
npm install @bolt/elements-icon
--e-bolt-icon-color
inline style rule to set the desired color. Reference Color Tokens for all available brand colors.