# PanelBar Icons

You can add [Telerik Font or SVG icons](https://www.telerik.com/blazor-ui/documentation/common-features/icons) to the PanelBar items. The component also supports custom icons.

To use PanelBar item icons, define a property in the component model class and assign the property name to the `IconField` parameter of the PanelBar.

The model property can hold:

* A property of the static `SvgIcon` class;
* A member of the `FontIcon` enum;
* A `string` that is a CSS class for a custom icon.

If the icon property name in the PanelBar model is `Icon`, there is no need to set the `IconField` parameter.

To select an SVG icon variant for each item, set `IconVariantField` on the PanelBar binding to the model property name that holds the variant name. The default name is `IconVariant`. See [SVG icon variants](https://www.telerik.com/blazor-ui/documentation/common-features/icons#use-svg-icon-variants) and [PanelBar Data Binding](https://www.telerik.com/blazor-ui/documentation/components/panelbar/data-binding/overview).

> Make sure to [register `font-icons.css` if using Telerik font icons](https://www.telerik.com/blazor-ui/documentation/common-features/icons#font-icon-stylesheet).

> caption How to use icons in the Telerik PanelBar

<demo metaUrl="client/panelbar/icons/" height="500"></demo>

## See Also

* [PanelBar Overview](https://www.telerik.com/blazor-ui/documentation/components/panelbar/overview)
* [Live Demos: PanelBar](https://demos.telerik.com/blazor-ui/panelbar/overview)
