StealThis .dev

Real Estate — Saved Searches / Alerts

An editorial saved-searches and alerts panel for a private-client real-estate brand. Buyers create named alerts from area, property type, minimum beds and a price ceiling, then tune each one to instant, daily, or weekly notice. Every saved row shows criteria chips, a faux listing photo, a live new-match badge, and quick controls to clear matches, mute, or delete. Vanilla JS handles creation, frequency toggles, badge clearing, and a small toast on save.

在 Lab 開啟
html css vanilla-js
目標: JS HTML

程式碼

Saved Searches / Alerts

A polished saved-searches and alerts surface for the fictional Marrow & Vale private-client brand. A “create a new alert” form sits at the top, letting a buyer name a search and pick an area, property type, minimum bedrooms, and a maximum price, then choose how often to be notified via an Instant / Daily / Weekly segmented control. Saving prepends a new row and fires a toast confirmation.

Each saved row reads like a listing card: a warm CSS-gradient “property photo” with a contextual tag, a serif headline, criteria chips for area, type, beds, and price, and a red new-match badge when fresh listings meet the brief. Per-row controls let you retune the alert frequency, clear the new-match badge, mute the search (dimming it and excluding it from the running total), or delete it with a soft exit animation.

The header keeps a live count of saved searches and a running tally of unmuted new matches, all driven by a small vanilla-JS state array with event delegation — no frameworks, no build step. The layout is fully responsive down to ~360px, where rows collapse to a single column and controls stretch to full width.

Illustrative UI only — sample listings and data are fictional; not a real real-estate service.