Components

Overview of the AskAI component system

Overview

Peam is built from small, composable pieces. You can use the preset AskAI for a complete chat UI, or compose individual surfaces like AskAI.Dialog and AskAI.Chat with a AskAI.Trigger.

To customize the visuals, adjust theme tokens on the root using the Styling guide. If you need to control chat actions from anywhere in your app, use useAskAI or the AskAIProvider.

Start with AskAI for the quickest setup, then explore surfaces and primitives to tailor the experience.

On this page

GitHubEdit this page on GitHub