StealThis .dev
Pages Medium

Wedding — Registry

An editorial blush-and-gold wedding gift registry where guests browse a grid of curated presents with prices and photos, reserve any item with a single tap to mark it claimed and gently grey it out, watch a live progress bar count how many gifts are spoken for, and filter the grid to show only what is still available.

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

Code

A romantic, editorial gift registry for a wedding, built around a responsive product grid. Each card pairs a soft gradient or photographic thumbnail with the gift name, a short line of copy, a category badge, and a price set in an elegant Cormorant Garamond serif. A single Reserve button toggles an item to a claimed state, dimming the card, swapping the label to Reserved, and firing a small toast to confirm the guest has it covered.

A sticky header keeps the couple’s monogram, a live progress bar, and the running count of reserved versus total gifts in view. As items are claimed the bar fills with a thin gold gradient and the numbers update instantly. A filter toggle lets guests hide everything already taken so they can focus only on gifts still available, and the empty state appears gracefully when nothing matches.

Everything runs on vanilla JavaScript with no dependencies: state lives in a small array, the grid re-renders on each change, and reservations are announced politely for screen readers. Buttons are fully keyboard operable with visible focus rings, contrast meets WCAG AA, and the layout collapses to a single comfortable column below 520px.