# Token Swap

Swap one token for another with the trade route drawn out. Slide to confirm and a light travels the route stop by stop until the tokens land in your receive panel.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/finance-token-swap
```

## Import

```tsx
import { TokenSwapScreen } from "@/screens/finance/token-swap";
```

## Registry dependencies

- `animated-number` — /components/animated-number
- `icon` — /components/icon
- `slide-to-confirm` — /components/slide-to-confirm
- `text` — /components/text

## Native packages

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

## Icons rendered

- `chevron-down` — /icons.html?i=chevron-down
- `chevron-left` — /icons.html?i=chevron-left
- `settings` — /icons.html?i=settings
- `arrow-down` — /icons.html?i=arrow-down

Source: https://lumioui.com/screens/finance-token-swap