Icon
Basic usage
External icons
Icon can be inline or using external icons from Iconify with unocss.
Size
Icon can be at any size, but it will be better for rendering when value is multiply by 4.
Icon Attributes
Attribute | Description | Type | Acceptable Value | Default |
---|---|---|---|---|
color | SVG tag's fill attribute | Pick<CSSProperties, 'color'> | - | inherit from color |
size | SVG icon size, size x size | number | string | - | inherit from font size |
Icon Slots
Name | Description |
---|---|
— | customize default content |