Augeo AI Docs
Augeo Design SystemComponents

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.

PhaseSpaceWhat it rendersFigma frame
idleslotThe region exists, and nothing has been requested yet.MISSING
loadingslotDeclared and running. The one read phase a wait ladder escalates.MISSING
successslotContent arrived and fills the declaration.MISSING
emptyslotThe answer is legitimately nothing. A designed state, not an error.MISSING
timeoutslotThe bound expired. Distinct from failure: nobody said no.MISSING
failureslotThe request was answered, and the answer was a failure.MISSING
fallbackslotDegraded content stands in for what was asked for.MISSING
cancelledslotSuperseded 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