InteractionSlot
The eight exits of a read, rendered from a resolved slot state at the declared intent.
InteractionSlot
InteractionSlot is the read half of the interaction contract. It renders one of the eight exits of a read, scopes its children to the slot it declares, and reports one terminal event. It renders the phase it was handed and never advances one.
Interaction Phases
State space: slot. 0 of 8 covered phases have a Figma frame; 8 have not been drawn.
| Phase | Space | What it renders | Figma frame |
|---|---|---|---|
idle | slot | The region exists, and nothing has been requested yet. | MISSING |
loading | slot | Declared and running. The one read phase a wait ladder escalates. | MISSING |
success | slot | Content arrived and fills the declaration. | MISSING |
empty | slot | The answer is legitimately nothing. A designed state, not an error. | MISSING |
timeout | slot | The bound expired. Distinct from failure: nobody said no. | MISSING |
failure | slot | The request was answered, and the answer was a failure. | MISSING |
fallback | slot | Degraded content stands in for what was asked for. | MISSING |
cancelled | slot | Superseded or abandoned. Not a failure, and never scolded. | 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-border-default--augds-foreground-tertiary--augds-radius-primitive-12
Source
src/components/ui/interaction-slot/interaction-slot.tsx