# Custom Properties

To better identify with which element the user interacts, the PanelBar allows you to set any type of properties to the PanelBarItem.

## Getting Started

You can set the custom property by passing the property to the [`PanelBarItem`](https://www.telerik.com/kendo-react-ui/components/layout/api/panelbaritemprops).

```jsx
const App = () => {
    const onSelect = (event: PanelBarSelectEventArguments) => {
        console.log(event.target.props.customProp);
    }
    return (
        <PanelBar onSelect={onSelect}>
            <PanelBarItem title="First Item" customProp="firstItemCustomProp" />
            <PanelBarItem title="Second Item" customProp="secondItemCustomProp" />
        </PanelBar>
    )
}
```

## Accessing Properties

You can access the property from the target of the [`onSelect`](https://www.telerik.com/kendo-react-ui/components/layout/api/panelbarprops#onselect) PanelBar event.

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

## Suggested Links

* [Learn about KendoReact Free.](https://www.telerik.com/kendo-react-ui/components/getting-started/free-vs-premium)

- [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)
