The icon block draws an icon from the built-in library, on a single line:
:: icon name {size=… color=…}| Part | Values | Default |
|---|---|---|
name | One of the names in the list below | Required (F114) |
size | xs…7xl scale or pixels from 8 to 400 (Sizes) | 96 px |
color | Any color | Text color |
Icons also accept the other style attributes, such as opacity and step. A name outside the list is an error (F115), with a suggestion of the closest name. In the editor, type :: icon to see the list of names.
::: grid {cols=3 gap=lg}::: box {.card align=center}:: icon rocket {size=3xl color=accent}### Launch:::::: box {.card align=center}:: icon users {size=3xl color=blue}### Team:::::: box {.card align=center}:: icon trending-up {size=3xl color=green}### Growth::::::