Größen
sm 12, md 16, lg 20, xl 24, xxl 32 px; Farbe folgt dem Text.
Grundlagen
IBM Carbon icon as inline SVG. Colour follows the surrounding text; icons are decorative unless a label is given.
sm 12, md 16, lg 20, xl 24, xxl 32 px; Farbe folgt dem Text.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
name | '' | – | Carbon icon name, e.g. "add", "chevron--down", "warning--filled". |
size | 'md' | sm 12, md 16, lg 20, xl 24, xxl 32 px. | |
label | '' | – | Accessible name; empty marks the icon as decorative. |
Zusätzliche Attribute (z. B. class, aria-*, data-*) und HTMX-Kurzformen (get, post, get_url, post_url, target, swap, trigger, confirm) werden an das Element „root“ durchgereicht.