Augeo AI Docs
Augeo Design SystemComponents

RuleRow

One automation rule in a list, with its name, status, sentence summary, last run and an on-off switch.

RuleRow

RuleRow lists one automation rule so an admin can read it, open it and turn it on or off in place. The name is the press that opens the rule, and its hit area covers the whole row except the switch. The row never flips its own switch, so the host must hand back the confirmed state or the switch snaps back.

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-background-sunken-1
  • --augds-foreground-primary
  • --augds-foreground-secondary
  • --augds-foreground-tertiary
  • --augds-interaction-focus-ring
  • --augds-status-success-bg
  • --augds-status-success-fg

Source

  • src/components/ui/rule-row/rule-row.tsx