automad/bootstrap-icons

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

1.2.2 2020-12-26 11:35 UTC

This package is auto-updated.

Last update: 2024-03-24 17:55:52 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 "1em"
h "1em"
viewBox "0 0 16 16"