Icon
The Icon component provides a reusable pattern for icon in the interface.
Size
API
| Parameter | Default | Type | Description |
|---|---|---|---|
|
size
|
inherit | string | - |
|
label
|
string | - | |
|
icon
|
?string | - | |
|
color
|
string | - | |
|
customColor
|
string | - | |
|
componentElement
|
span | string | - |
|
filled
|
null | ?boolean | - |
|
isSvg
|
false | boolean | - |
|
decorative
|
false | boolean | - |
CSS API
| Variable | Default | Type | Values | Description |
|---|---|---|---|---|
|
--c-icon--base
|
var(--base) | range | - | Main unit that drives radius and spacing scales. |