This component extends the bip-icon
component by displaying the icon on a rounded background. It's designed to be used in bip-menu-item
component, but can be included anywhere.
Name | Type | Details |
---|---|---|
name |
string |
The name of the icon that the component should display. Must be one of the available biopocket icons. |
color |
string |
(Optional) The name of the color to apply to the icon. Must be one of the available colors. Defaults to the 'light' color. |
bg-color |
string |
(Optional) The name of the background color to apply to the component. Must be one of the available colors. Defaults to the 'primary' color. |
<any-tag>
...
<bip-menu-item-icon name="user" color="warning" bg-color="seabed"></bip-menu-item-icon>
...
</any-tag>