> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qonto.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UIElementSettings

[@qonto/embed-sdk](../../README) / [\<internal>](../README) / UIElementSettings

# Interface: UIElementSettings\<T>

Common settings format for UI elements. Consists of three properties:
`uiElementName`, `uiElementParams`, and `uiElementEventListener`.
The `uiElementName` property is required and specifies the type of UI element
to render.
The `uiElementParams` property is a generic object that holds parameters that
will depend on the specific UI element being created.
The `uiElementEventListener` property is a callback function that will be
invoked when the UI element emits events. It receives an event object
containing the event name and optional event details. Each UI element
will define its own set of events that can be listened to.

## Type Parameters

### T

`T`

## Properties

### uiElementEventListener()?

> `optional` **uiElementEventListener**: (`event`) => `void`

#### Parameters

##### event

[`UIElementEvent`](./UIElementEvent)

#### Returns

`void`

***

### uiElementName

> **uiElementName**: `string`

***

### uiElementParams?

> `optional` **uiElementParams**: `T`
