# Customization

You can customize the behavior of the PanelBar depending on the specific requirements of your React project.

The PanelBar enables you to render:

* [Collections](https://www.telerik.com/kendo-react-ui/components/layout/panelbar/customization#collections) by using the `PanelBarUtils` utility functions.
* [Custom elements](https://www.telerik.com/kendo-react-ui/components/layout/panelbar/customization#declaratively-initialized-items) which are passed to the `PanelBarItem` as a `children` property.
* [PanelBar items with custom properties](https://www.telerik.com/kendo-react-ui/components/layout/panelbar/customization#custom-properties) and identify them when the user interact with it.

## Collections

You can map a collection to the `PanelBarItem` components by using the [`mapItemsToComponents`](https://www.telerik.com/kendo-react-ui/components/layout/api/panelbarutils#mapitemstocomponents) utility function.

> * If you present a `children` property, the PanelBar will render a recursive map until it reaches an object that contains neither a content, nor a `children` property.
> * If you present a content property, the property will be prioritized and directly rendered inside the `PanelBarItem` component.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/panelbar/custom/collections/func/source.txt)

## Declaratively Initialized Items

The following example demonstrates how to instantiate PanelBar items by using the declarative approach.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/panelbar/custom/declarative/func/source.txt)

## Custom Properties

The PanelBarItem allows you to pass custom properties to better identify item interaction.

[Demo Source](https://demos.telerik.com/kendo-react-ui/layout/panelbar/custom/custom/func/source.txt)

## Suggested Links

* [API Reference of the PanelBar](https://www.telerik.com/kendo-react-ui/components/layout/api/panelbarprops)
* [API Reference of the PanelBarItem](https://www.telerik.com/kendo-react-ui/components/layout/api/panelbaritemprops)
