StealThis .dev

Travel — Saved Trips / Wishlist

A warm, editorial saved-trips shelf where draft itineraries and pinned places share one tidy library. Each card carries a gradient landscape cover, destination, dates or a no-dates hint, a saved-stops count and a progress bar for trips, or a star rating and price tier for places. Filter by All, Trips or Places, duplicate a route to remix, open it in the planner, or remove with a five-second undo. State reads and writes the same localStorage the explore and planner views use, with a friendly empty state inviting more wandering.

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

Code

Saved Trips / Wishlist

A personal shelf for everywhere you mean to go. Draft trips and pinned places live side by side in one responsive grid — every card opens with a gradient “landscape photography” cover keyed to its destination (coast, alps, desert, forest, islands…), a kind badge, and a heart you can tap to let a place go. Trips show their dates, or an honest “No dates yet”, with a saved-stops count and a progress bar that fills to show how ready the plan is. Places swap that for a star rating and a price tier, from Free up to €€€.

The filter pill flips between All, Trips and Places, each with a live count. Every card has three real actions: Open (hands off to the planner), Duplicate (clones the item right below — a copied trip becomes a fresh, date-free draft), and Remove. Removing animates the card out and raises a toast with a five-second Undo that restores it to its original spot. Clear the shelf entirely and a warm illustrated empty state invites you back out to explore.

Everything is vanilla HTML, CSS and JavaScript — no frameworks, no build, no external images. The library persists to localStorage and keeps the shared wishlist of place IDs in sync with the explore and planner views, so saves never drift between screens. The layout collapses from a multi-column grid to a single stacked column on narrow phones.

Illustrative travel UI only — fictional destinations, prices, and maps.