Skip to main content

Icon

Basic icon.


Props

  • name (string): Icon name.
  • [OPTIONAL] id (string): id HTML attribute to set to the element.
  • [OPTIONAL] modifiers (string): List of modifiers to apply to the element. Defaults to "".

Syntax

<UIIcon
id="my-id"
modifiers="large"
name="star"
/>