@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

  1. twitter
  2. facebook
  3. instagram
  4. linkedin

Readme

Keywords

Package Sidebar

Install

npm i @kb-dk/kb-icon

Weekly Downloads

1

Version

2.1.0

License

ISC

Unpacked Size

31.6 kB

Total Files

4

Last publish

Collaborators

  • jt-kb
  • jegsen
  • bimo-kb-dk
  • kbdk