# Shop Assistant

Shop by chatting with an AI assistant that thinks, streams its reply word by word, then reveals a top pick and two alternatives. Add items straight from the chat and watch your bag total update.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/ecommerce-shop-assistant
```

## Import

```tsx
import { ShopAssistantScreen } from "@/screens/ecommerce/shop-assistant";
```

## Registry dependencies

- `add-to-cart-button` — /components/add-to-cart-button
- `animated-number` — /components/animated-number
- `icon` — /components/icon
- `lightbox` — /components/lightbox
- `quick-replies` — /components/quick-replies
- `streaming-text` — /components/streaming-text
- `text` — /components/text
- `thinking-indicator` — /components/thinking-indicator

## Native packages

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

## Icons rendered

- `truck` — /icons.html?i=truck
- `chevron-left` — /icons.html?i=chevron-left
- `shopping-cart` — /icons.html?i=shopping-cart
- `camera` — /icons.html?i=camera
- `mic` — /icons.html?i=mic

Source: https://lumioui.com/screens/ecommerce-shop-assistant