App UI kits › Rail › Checkout

Checkout

Delivery choices re-price the order before you pay, and the pay button turns into a tick.

Checkout is a screen from Rail, an app ui kit with 11 screens: A fashion store app where the outfit rail dresses you and every product tells you your size. Price: $5 for the whole pack.

Built with: every fee shown, delivery options, pay button morph.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Checkout props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosRjPhotos
onPay(o: { total: number; delivery: string; split: boolean }) => void

Methods on the ref

Use it in React

import RailCheckout from './RailCheckout';

<RailCheckout />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Rail

Good for: Fashion store app UI, UK (pounds).