App UI kits › Rail › Bag

Bag

Swipe a piece away and undo it; the free delivery bar fills as the total rolls.

Bag 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: swipe to remove, undo, delivery progress.

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.

Bag props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosRjPhotos
bodyRjBody
onCheckout(total: number) => void

Methods on the ref

Use it in React

import RailBag from './RailBag';

<RailBag />

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

More in Rail

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