# PlacementForUIElement

***

> **PlacementForUIElement**: { `after`: `string`; } | { `before`: `string`; } | { `at`: `"start"` | `"end"`; }

Used in [UiController.createOrUpdatePanel](https://developers.felt.com/js-sdk-api-reference/uicontroller#createorupdatepanel) to specify the position of a panel in the stack and in [UiController.createPanelElements](https://developers.felt.com/js-sdk-api-reference/uicontroller#createpanelelements) to specify the position of an element in a panel.

In both cases, the default value is `{ at: "end" }`.
