Icon
This component displays a single customizable Font Awesome icon, rendered as SVG. It is commonly used in various Flux components, including Buttons, and can be easily styled with CSS.
Please refer to Font Awesome to read more about the usage of icons.
There is also a Boxed icon component available.
Props
name: FluxIconName
The name of the icon to use.
size?: number | string
The size of the icon.
Emits
click: [MouseEvent]
Triggered when the icon is clicked.
Snippet
vue
<FluxIcon name="rocket"/>