Augeo AI Docs
Augeo Design SystemComponents

SettingsItem

One setting in a settings card, with an optional icon, a title over a description and the control that sets it, a switch or a field.

SettingsItem

One setting in a settings card, with an icon, a title over a description and the control that sets it. ShoppingPreferences renders one per category, PrivacyConsent renders the consent toggle, and the hub's account pages render one per field. The item holds no state. A host that ignores onCheckedChange renders a switch that does not move. The title names the switch only. A control names itself, so a field passed in needs its own label, hidden or not.

Interaction Phases

State space: none. This item renders no phase treatment of its own.

Politeness is not announced — this item carries no live region.

Storybook

Loading

Props

Prop

Type

Also takes the attributes of the element it renders.

Tokens

Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.

  • --augds-foreground-primary
  • --augds-foreground-tertiary
  • --augds-interaction-hover-light
  • --augds-radius-primitive-12
  • --augds-type-label-md-medium-line-height
  • --augds-type-label-sm-regular-line-height

Source

  • src/components/ui/settings-item/settings-item.tsx