Augeo AI Docs
Augeo Design SystemComponents

ListGroup

A grouped list on a fill or a hairline. ListGroupRow is its row, with a lead, a title over a line, a trailing value and a chevron, and ListGroupIcon is the 40px tile a row leads with.

ListGroup

ListGroup is a grouped list, filled for settings and choices or outlined for a list a person scans, such as a history. A pressable ListGroupRow is the whole row, so a row with a trailing control stays static, because a button inside a button is invalid. A link row takes asChild and the link as its one child, so a host can pass its router's link. A host that dresses every filled list differently sets --list-group-fill, because the list's own utilities beat a host rule on the element.

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-border-subtle
  • --augds-fill-1
  • --augds-fill-2
  • --augds-fill-selected
  • --augds-foreground-primary
  • --augds-foreground-secondary
  • --augds-interaction-focus-ring
  • --augds-interaction-hover-light
  • --augds-interaction-pressed-light
  • --augds-radius-primitive-12
  • --augds-radius-primitive-16
  • --augds-spacing-24
  • --augds-spacing-4
  • --augds-spacing-48
  • --augds-surface-current

Source

  • src/components/ui/list-group/list-group.tsx