StealThis .dev

Dating — Icebreakers

A playful icebreaker deck for dating apps: a shuffleable stack of conversation-starter prompt cards sorted by mood categories like Flirty, Deep, and Silly. Tap a card to copy or send it with a springy toast confirmation, tap the heart to save favorites into a mini collection, and hit shuffle to deal a fresh prompt. Wrapped in a rounded phone frame with gradient coral-to-violet accents, pill controls, and smooth micro-interactions.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

A self-contained icebreaker component built for dating-app product screens. The UI lives inside a ~430px phone frame: a gradient header with the deck title and favorite count, a horizontal row of category chips (Flirty, Deep, Silly, First Date, Travel), and a large prompt card centered on the stage. Each card shows the current category badge, the prompt text, and two actions — Copy and Send — plus a heart toggle to favorite it.

Interactions are all vanilla JS. Tapping a category chip filters the deck and deals a matching prompt; the Shuffle button spins to a random new prompt with a card flip animation. Copy writes the prompt to the clipboard and fires a toast, Send fires a different toast, and the heart animates on toggle while updating the favorites counter. A collapsible favorites drawer lists everything you have saved, each removable with a tap.

The stylesheet leads with the dating palette custom properties (coral, violet, pink, gradient) and pill-shaped buttons with soft radii. It is fully keyboard accessible with visible focus rings and aria labels, and collapses cleanly below 520px so it feels native on the smallest phones.