App UI kits › Rail › Outfit rail

Outfit rail

Three rails of tops, bottoms and shoes drift like a shop rail; flick one and it glides to a piece, lock the rows you like and the outfit total rolls.

Outfit rail 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: drifting rails, flick and snap, rolling total.

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.

Outfit rail props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosRjPhotos
bodyRjBody
rails[string[], string[], string[]]the demo tops, bottoms and shoes)Product ids for each rail (defaults to the demo tops, bottoms and shoes).
onChange(ids: string[], total: number) => void
onAdd(ids: string[]) => void

Methods on the ref

Use it in React

import RailOutfit from './RailOutfit';

<RailOutfit />

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

More in Rail

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