automad/bootstrap-icons

This package let's you easily embed Bootstrap icons within your Automad templates

1.2.0 2020-05-23 13:17 UTC

This package is auto-updated.

Last update: 2020-07-23 13:42:37 UTC


README

This package let's you easily embed Bootstrap Icons within your Automad templates.

Usage

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'
} @>

Options

An icon can have the following settings:

Parameter Default
icon "alert-circle"
w "1.5em"
h "1.5em"
viewBox "0 0 20 20"