Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.31 KB

File metadata and controls

26 lines (20 loc) · 1.31 KB
Either `icon` or `src` must be provided. The icon to display from an icon library.

Options:

Path or URL to an image to use as the icon. Use `src` instead of `icon` when you want to use a custom image rather than an icon from a library.

Options:

  • Path to an image file in your project (for example, /images/my-icon.svg)
  • URL to an externally hosted image (for example, https://example.com/icon.png)
The [Font Awesome](https://fontawesome.com/icons) icon style. Only used with Font Awesome icons.

Options: regular, solid, light, thin, sharp-solid, duotone, brands.