# Spending Analytics

Where your money went this week, month or year, as a donut by category plus a chart of what changed. Tap a category to spotlight it while everything else steps back.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/finance-spending-analytics
```

## Import

```tsx
import { SpendingAnalyticsScreen } from "@/screens/finance/spending-analytics";
```

## Registry dependencies

- `donut-chart` — /components/donut-chart
- `icon` — /components/icon
- `segmented-control` — /components/segmented-control
- `text` — /components/text

## Native packages

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

## Icons rendered

- `utensils` — /icons.html?i=utensils
- `carrot` — /icons.html?i=carrot
- `shopping-cart` — /icons.html?i=shopping-cart
- `tram-front` — /icons.html?i=tram-front
- `home` — /icons.html?i=home
- `plane` — /icons.html?i=plane
- `chevron-left` — /icons.html?i=chevron-left
- `share` — /icons.html?i=share
- `info` — /icons.html?i=info

Source: https://lumioui.com/screens/finance-spending-analytics