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

# otter-config-types

> Typed config structs shared across Otter Shell apps and otter-settings.

`otter-config-types` is the Zig structs `otter-conf` parses for each app. `otter-settings` edits the same types at runtime.

New configurable app? Add the struct here first, then a tab in `otter-settings/src/tabs.zig`.

## Quick example

```zig theme={null}
const config_types = @import("otter_config_types");
const BarConfig = config_types.bar.Config;
```

## Documentation map

<CardGroup cols={2}>
  <Card title="App config modules" icon="table" href="/developers/libraries/otter-config-types/app-config-modules">
    Per-app structs: bar, launcher, lock, monitor, and more.
  </Card>

  <Card title="Patterns" icon="code" href="/developers/libraries/otter-config-types/patterns">
    Defaults, nested structs, colors, and adding new configs.
  </Card>
</CardGroup>

## Dependencies

`otter-geo`, `otter-render`, `otter-conf`.
