Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.37 KB

bip-menu-item-icon.md

File metadata and controls

24 lines (18 loc) · 1.37 KB

bip-menu-item-icon component

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.

Attributes

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.

Usage example

<any-tag>
  ...
  <bip-menu-item-icon name="user" color="warning" bg-color="seabed"></bip-menu-item-icon>
  ...
</any-tag>