App UI kits › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | RjPhotos | ||
body | RjBody | ||
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 |
push(row: number, steps: number): voidlock(row: number, on?: boolean): voidshuffle(): voiddestroy(): voidimport RailOutfit from './RailOutfit';
<RailOutfit />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Fashion store app UI, UK (pounds).