Button
The standard action control across Augeo surfaces.
Button
Button is the standard action control across Augeo surfaces. A press emits com.augeo.ui.action.pressed only when the caller passes actionId, so a parent that owns the press leaves the button silent. The event carries no label, because a caller may write member text into the name, so actionId alone names the control.
Interaction Phases
State space: effect. 0 of 5 covered phases have a Figma frame; 5 have not been drawn.
| Phase | Space | What it renders | Figma frame |
|---|---|---|---|
idle | effect | No mutation in flight. | MISSING |
pending | effect | Requested, awaiting an answer. Where pendingValue renders. | MISSING |
confirmed | effect | The host committed it, and said so. | MISSING |
rejected | effect | The host refused it, with a class and a reason. | MISSING |
unacknowledged | effect | No answer arrived inside the bound. The absence of an answer, not a refusal. | MISSING |
Politeness is handed down — the resolved state chooses it and this item renders it.
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-brand--augds-background-disabled--augds-background-inverse--augds-background-neutral--augds-background-sunken--augds-background-white-fixed--augds-border-default--augds-border-subtle--augds-brand-color-primary-readable--augds-brand-color-primary-shade--augds-button-radius-button-radius--augds-color-monochrome-pure-white--augds-color-red-700--augds-foreground-brand-readable--augds-foreground-inverse--augds-foreground-on-brand--augds-foreground-primary--augds-foreground-secondary--augds-foreground-tertiary--augds-interaction-focus-ring--augds-interaction-hover--augds-interaction-pressed--augds-shadow-button-shadow--augds-spacing-10--augds-spacing-4--augds-spacing-6--augds-spacing-8--augds-surface-current
Source
src/components/ui/button/button.tsx