AAI SDK
    Preparing search index...

    Function StartScreen

    • A centered start screen: a white card on the cream page with the logo, an eyebrow label, a serif title, subtitle, and the start CTA. Renders children (the main app) once the session has started.

      Parameters

      • __namedParameters: {
            buttonText?: string;
            children: ReactNode;
            className?: string;
            icon?: ReactNode;
            subtitle?: string;
            title?: string;
        }

      Returns
          | string
          | number
          | bigint
          | boolean
          | Element
          | Iterable<ReactNode, any, any>
          | Promise<
              | string
              | number
              | bigint
              | boolean
              | ReactPortal
              | ReactElement<unknown, string | JSXElementConstructor<any>>
              | Iterable<ReactNode, any, any>
              | null
              | undefined,
          >
          | null
          | undefined

      import { ChatView, StartScreen } from "@alexkroman1/aai-ui";

      function MyAgent() {
      return (
      <StartScreen icon="🍕" title="Pizza Palace" subtitle="Voice-powered ordering">
      <ChatView />
      </StartScreen>
      );
      }