Checkout Pro

One-page checkout where a single highlight glides between delivery speeds and payment methods with radio dots that scale in, a promo row opens in place into an input (SAVE10 applies, anything else shakes), summary amounts roll to their new values, and the Place order button goes from idle to spinner to a confirmed tick.

checkoutpaymentradioorder summaryecommercepromo codeanimationreanimated
Get Pro to copy

A Pro screen: copy it with Pro, $6 a month billed yearly. Already on Pro? Sign in

Paste into Claude Code Cursor Codex Lovable RapidNative
Open full screen

A gluestack Pro pattern

  • The full prompt for your coding agent
  • The source: 1015 lines of plain React Native
  • The packages to install and the setup it needs
  • How to adapt it to your data and routes
Unlimited with Pro, $6/month

Details

File
components/patterns/checkout.tsx
Lines
1015
Stack
React Native, StyleSheet
Packages
expo-linear-gradient, lucide-react-native, react-native-reanimated, react-native-safe-area-context, react-native-svg, react-native-worklets
Platforms
iOS, Android, Web

Using gluestack-ui?

Optional. The screen is plain React Native; these components can stand in for its primitives.

components/patterns/checkout.tsx

Source available with Pro

More screens like this.

All Commerce