Augeo AI Docs
Augeo Design SystemComponents

SearchPanel

The Search SDK V1 header bar and the surface it opens, a composer above a suggestion region, rendered as an overlay or a sheet.

SearchPanel

SearchPanel is the Search V1 header bar and the surface it opens: a composer above a suggestion region. The overlay opens over the bar it came from, and the sheet takes the whole screen. The host owns the open state and hands down the suggestion region's phase, so this component never fetches, times or classifies a result. slotState and slotDeclaration are a pair, and passing one without the other leaves the region inert. The searchbox draws its focus ring only when Tab reaches it. Opening the panel focuses it, and a text field matches :focus-visible on a click as well. Passing chat={false} hides both Ask AI buttons, including when onAsk is set.

Interaction Phases

State space: none. This item renders no phase treatment of its own.

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-inverse
  • --augds-background-white-fixed
  • --augds-border-default
  • --augds-border-subtle
  • --augds-font-weight-medium
  • --augds-foreground-primary
  • --augds-foreground-quaternary
  • --augds-foreground-tertiary
  • --augds-interaction-focus-ring
  • --augds-interaction-hover
  • --augds-interaction-hover-light
  • --augds-radius-primitive-16
  • --augds-radius-primitive-20
  • --augds-radius-primitive-32
  • --augds-radius-primitive-4
  • --augds-radius-primitive-8
  • --augds-shadow-2
  • --augds-shadow-sm-element
  • --augds-spacing-12
  • --augds-spacing-16
  • --augds-spacing-32
  • --augds-spacing-4
  • --augds-spacing-6
  • --augds-spacing-8
  • --augds-surface-page
  • --augds-surface-sunken-2
  • --augds-surface-surface-1

Source

  • src/components/ui/search-panel/search-panel.tsx