# Payment Methods

Manage saved cards in a stitched wallet pocket: tap one to pull it out while the previous card slides back in. Set a default or remove a card from just below it, with undo for removals.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/ecommerce-payment-methods
```

## Import

```tsx
import { PaymentMethodsScreen } from "@/screens/ecommerce/payment-methods";
```

## Registry dependencies

- `icon` — /components/icon
- `separator` — /components/separator
- `switch` — /components/switch
- `text` — /components/text

## Native packages

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

## Icons rendered

- `plus` — /icons.html?i=plus
- `alert-triangle` — /icons.html?i=alert-triangle
- `check-circle` — /icons.html?i=check-circle
- `lock` — /icons.html?i=lock
- `refresh` — /icons.html?i=refresh

Source: https://lumioui.com/screens/ecommerce-payment-methods