> Markdown version of [Icon](https://vaadin.com/docs/v14/flow/components/tutorial-flow-icon). Section index: [llms.txt](https://vaadin.com/docs/v14/flow/llms.txt)

# Icon

The `Icon` component allows you to display an icon. You can use icons from [Vaadin icons](https://vaadin.com/docs/latest/components/icons), [PolymerElements/iron-iconset-svg](https://vaadin.com/directory/component/polymerelementsiron-iconset-svg) or any other set.

## <a id="using-icon"></a>Using Icon

`Icon` is normally used with the default `VaadinIcon` enumeration which maps all the icons from [vaadin-icons](https://vaadin.com/docs/latest/components/icons).

**Example**: Creating a Vaadin logo icon.

```java
Icon icon = VaadinIcon.VAADIN_H.create();
new Button("Vaadin", icon);
```

You can also use an `Icon` from another collection.

**Example**: Creating a "clock" icon from the `vaadin-lumo-styles` collection.

```java
Icon icon = new Icon("lumo", "clock");
new Button("Clock", icon);
```

`92D92F02-F6F9-433F-9371-D867EFB2FF14`
