This package let's you easily embed Bootstrap Icons within your Automad templates.
You can embed an icon as follows:
<@ Automad/Bootstrap/Icon { icon: 'alert-circle' } @>
The dimensions and size can be changed as follows:
<@ Automad/Bootstrap/Icon {
icon: 'alert-circle',
w: '1.5em',
h: '1.5em'
} @>
An icon can have the following settings:
Parameter | Default |
---|---|
icon |
"alert-circle" |
w |
"1em" |
h |
"1em" |
viewBox |
"0 0 16 16" |