Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.13 KB

bip-icon.md

File metadata and controls

25 lines (18 loc) · 1.13 KB

bip-icon component

This component should be used whenever one wants to display a BioPocket icon that is included in the icon set.

It behave very much like an ion-icon component.

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 color of the closest parent in the DOM.

Usage example

<any-tag>
  ...
  <bip-icon name="camera" color="lagoon"></bip-icon>
  ...
</any-tag>