@kb-dk/kb-icon
v2.1.0
Published
KB icon web component.
Downloads
1
Readme
kb-icon
Properties
| Property | Attribute | Description | Type | Default |
| :----: | :----: | :----: |:---------------------------------------------:|:---------:|
| name | name | The name of the icon to display (See a list here). | string | "" |
| size | size | The size of the icon. | "xxs" / "xs" / "s" / "m" / "l" / "xl" / "xxl" | "xxs" |
| color | color | The color of the icon. Can accept any valid CSS color value. | string | "#002e70" |
Examples
<kb-icon name="twitter"></kb-icon>
<kb-icon name="twitter" color="red" size="xs"></kb-icon>