---
title: "fontawesome icon · RUAL Documentation"
description: "Integrates a dynamic FontAwesome icon into your web page"
canonical: https://docs.rual.nl/block-types/state%20ui/state_icon
language: en
---

# fontawesome icon

This block is part of the [`state ui`](https://docs.rual.nl/block-types/state%20ui) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Integrates a dynamic FontAwesome icon into your web page

- icon required `value` Specifies the FontAwesome icon name that corresponds to the state you want to represent.

- class `uiclass` Assigns a CSS class to the element. • Hidden when unused

- style `uistyle` Applies inline CSS style to the element • Hidden when unused

- attributes `uiattributes` Adds custom attributes to the element. • Hidden when unused

- state `state` Returns the element to the frontend state.

A typical wiring for [fontawesome icon](https://docs.rual.nl/block-types/state%2520ui/state_icon): [icon](https://docs.rual.nl/block-types/value/value_default_icon) feeds the `icon` pin; the `state` out pin feeds [div](https://docs.rual.nl/block-types/state%2520ui/state_div).

![Studio canvas example for the fontawesome icon block: typical wiring for fontawesome icon.](https://docs.rual.nl/canvas-examples/state_icon.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [div](https://docs.rual.nl/block-types/state%20ui/state_div): this block feeds into it. Creates a dynamic and customizable div element on your web page.

- [icon](https://docs.rual.nl/block-types/value/value_default_icon): feeds into this block.

### Version history

Introduced in [`v13.0.1`](https://docs.rual.nl/core-versions/130001).

Last modified in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

- [Back to `state ui`](https://docs.rual.nl/block-types/state%20ui): Return to the main group to view all sub-groups

- [Back to `state elements`](https://docs.rual.nl/block-types/state%20ui?group=state%20elements): Return to the group to view all blocks within this group
