Noora.Icon (noora v0.49.0)
Icons in use across the Noora design system.
Usage
The module exposes all icons in two ways:
- As a function of the shape
<.{icon_name} /> - As an
iconcomponent that takes anameattribute.
<.mail />
<.icon name="mail" />Adding an icon
Icons are automatically read and generated from the icons folder. To add an icon, simply add a SVG file to the folder. File names are
required to be alphanumeric. Hyphens in the file name are automatically substituted to underscores.