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

# Modern UI - Convars

> Configure Modern UI global options via convars

<Note>
  Convars must be set in your `server.cfg` file *before* the resource is started to take effect.
</Note>

### locale

Assign the default language used.

```cfg theme={null}
setr lation:locale "en"
```

### user themes

Allow players to personalize their own UI via the `/uisettings` command. Player themes are stored client-side per player (no database required) and anything a player doesn't customize inherits from the server theme. Disabled by default.

```cfg theme={null}
setr lation_ui:allowUserThemes 1
```

### progress prop limit

Set the maximum number of props that can be attached to a single progress bar. Defaults to `2`.

```cfg theme={null}
setr lation_ui:progressPropLimit 2
```

### position

Assign a screen position components will use.

<Tabs>
  <Tab title="notify">
    ```cfg theme={null}
    setr lation:position:notify "top"
    ```
  </Tab>

  <Tab title="menu">
    ```cfg theme={null}
    setr lation:position:menu "offcenter-right"
    ```
  </Tab>

  <Tab title="text ui">
    ```cfg theme={null}
    setr lation:position:textui "left-center"
    ```
  </Tab>
</Tabs>

<Warning>
  Convar positions apply globally and overrides any positions specified in export calls.
</Warning>
