SVG icon
{{ render_icon('heart') }}
Output:
SVG icon with custom size
{{ render_icon('heart', 32) }}
Output:
SVG icon with custom size and Bootstrap color
{{ render_icon('heart', 25, 'primary') }}
Output:
SVG icon with custom size and custom color
{{ render_icon('heart', '2em', 'red') }}
Output:
SVG icon with title and descr
{{ render_icon('heart', title='Heart', desc='A heart.') }}
Output:
SVG icon with additional classes for styling
{{ render_icon('heart', '2em', classes='text-success bg-body-secondary p-2 rounded-3') }}
Output:
Buttons with SVG icon
Download
Bookmark
Font icon with custom size and Bootstrap color
{{ render_icon('heart', '25px', 'primary', font=True) }}
Output:
Font icon with custom size and custom color
{{ render_icon('heart', '2em', 'red', font=True) }}
Output:
Buttons with font icon
Download
Bookmark