Create a card slider for a fictional cookery school, Saltbox Kitchen, on cream (#f7efe4) with brown ink (#2a1d17) and tomato (#e2492f): a small brand, the serif headline "Six supper classes this November" and a "Places booked 0" pill. Six cards 330px wide (286px on phones) and about 470px tall with 24px corners, each topped by a top down SVG dish on its own tint: shoyu ramen with chopsticks and rising steam, a margherita pizza, dumplings in a bamboo basket, a lemon tart, a seafood paella and a grain bowl. Then day and level tags, "Class 01 of 06", a serif title, date and teacher, a bar of places taken, "3 of 10 places left", the price and a "Book a place" toggle that updates the counts. Place cards from one decimal position: neighbours sit 0.86 card widths apart, shrink 10% per step, sink 60px back and turn 14 degrees (perspective 1300px), and fade beyond one step; the row loops. Drag with momentum and a 0.12 snap, tap a side card to bring it in, and use the arrow keys. Autoplay every 5 seconds with the active dot filling like a progress bar, pausing on hover, focus, drag and hidden tabs, plus a pause button. The page glow takes each card's tint. Reduced motion turns off autoplay and steam.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
About this card slider
A card slider works best when each card is a complete little advert. Each of these six cookery classes has its own illustrated dish, the day and level, the teacher, a bar showing how full the class is, the price and a booking button, so people can decide without leaving the slider. The card in front is full size, while its neighbours shrink, turn slightly and step back, which makes it clear there is more to see on either side.
Every card is placed from one decimal position, so dragging, tapping a side card, the arrow keys and autoplay all move in exactly the same way. Autoplay waits five seconds and shows its timer in the active dot, and it pauses whenever someone is reading, hovering, dragging or looking at another tab. The dishes are drawn in SVG, steam and all, so the slider has nothing to download.
Why the prompt works
- It gives the 3D steps, spacing, scale, depth and angle, so the side cards look deliberate.
- It makes autoplay polite, with a visible timer, a pause button and sensible pauses.
- It puts real booking data on the cards, places left and a working button.
- It sizes the phone card so the neighbours still peek in.
Where to use it
Courses and workshops, event listings, product launches, tours and any short list of things people can book or buy.