# AI Chat

Chat with an assistant that streams its answer and builds a plan for a sunrise hike, its timeline drawing through each stop. Posting the plan to your group highlights the sunrise moment.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/chat-ai
```

## Import

```tsx
import { AiChatScreen } from "@/screens/chat/ai";
```

## Registry dependencies

- `context-menu` — /components/context-menu
- `icon` — /components/icon
- `keyboard-avoiding` — /components/keyboard-avoiding
- `streaming-text` — /components/streaming-text
- `text` — /components/text

## Native packages

- react-native-reanimated@*
- react-native-svg@*
- react-native-safe-area-context@*

## Icons rendered

- `sun` — /icons.html?i=sun
- `check` — /icons.html?i=check
- `send` — /icons.html?i=send
- `chevron-left` — /icons.html?i=chevron-left
- `edit` — /icons.html?i=edit
- `arrow-up` — /icons.html?i=arrow-up
- `copy` — /icons.html?i=copy
- `share` — /icons.html?i=share
- `more-horizontal` — /icons.html?i=more-horizontal
- `plus` — /icons.html?i=plus
- `globe` — /icons.html?i=globe
- `mic` — /icons.html?i=mic

Source: https://lumioui.com/screens/chat-ai