AskAI.Dialog

Centered modal surface that renders the AskAI chat UI in an overlay

Overview

Centered modal surface that shows the AskAI chat UI in a focused overlay. Pair it with AskAI.Trigger or another custom control.

Demo

Usage

import { AskAI } from 'peam/client';

export default function Page() {
  return (
    <AskAI>
      <AskAI.Trigger />
      <AskAI.Dialog />
    </AskAI>
  );
}

Props

PropTypeDefaultDescription
childrenReactNodeundefinedCustom dialog contents.
(all)HTMLDivElement propsAccepts all standard div props.

On this page

GitHubEdit this page on GitHub