@kb-dk/kb-icon
2.1.0 • Public • Published 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>
Available icons
- twitter
- facebook
- instagram
- linkedin
Package Sidebar
Install
Weekly Downloads