marcantondahmen / automad-bootstrap-icons

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

Home Page:https://packages.automad.org/automad/bootstrap-icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automad Bootstrap Icons Extension

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"

About

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

https://packages.automad.org/automad/bootstrap-icons

License:MIT License


Languages

Language:PHP 100.0%