# Settings Controls Load `theme-system` for button/icon/color contracts and `locale-ui-patterns` for every visible or accessible string. All primitives/constants come from `packages/ui/src/components/sections/shared/SettingsSection.tsx` (+ `SettingsInfoHint.tsx`). ## Standard Sizes And Widths One control size across Settings — `h-8`: - `SelectTrigger`: `size={SETTINGS_SELECT_SIZE}` ('settings' → h-8, rounded-md, px-3). - Custom dropdown triggers (ModelSelector / AgentSelector): `SETTINGS_CUSTOM_TRIGGER_CLASS`. - Text `Input` next to dropdowns: `h-8 rounded-md px-3` (match the trigger footprint). - Icon action next to a control: `SETTINGS_ICON_BUTTON_CLASS`. Widths are capped — never let controls span the pane: - Field-row control cluster / stacked-field default cap: `max-w-[24rem]` (built into `SettingsStackedField`; use `SETTINGS_CONTROL_CLUSTER_CLASS` elsewhere). - Field-row selects: `SETTINGS_SELECT_ROW_TRIGGER_CLASS` (full width narrow, `@xl:w-56` wide). - Stacked-field selects: `SETTINGS_SELECT_TRIGGER_CLASS` (fills the capped container). - Genuinely full-width content (dialog textareas): opt out with `controlClassName="w-full max-w-none"`. ## Field Rows ```tsx