StealThis .dev

Real Estate — Lead Card

An editorial buyer-lead card for a real-estate CRM pipeline, with initials avatar, phone and email contacts, a source tag, budget and desired-area chips, a colour-coded status pill that cycles through New, Contacted, Touring and Offer, a star priority toggle, last-activity timestamp, and quick call, email and inline-note actions. Built with semantic HTML, a warm ivory-and-brass palette, faux listing photography rendered in pure CSS, and dependency-free vanilla JavaScript.

लैब में खोलें
html css vanilla-js
Targets: JS HTML

Code

Lead Card

A polished buyer-lead card for a real-estate CRM, presented as a stacked column of four prospects moving through the pipeline. Each card pairs an initials avatar and a serif name with one-tap phone and email contacts, a source tag, and chips for budget range and desired area. A colour-coded status pill, a brass star for priority, and a relative last-activity timestamp give an agent the full picture at a glance, with a faux architectural “listing photo” — rendered entirely in CSS gradients — anchoring the top of every card.

The interface is genuinely interactive. Tapping the status pill cycles a lead through New → Contacted → Touring → Offer, recolouring the pill and the card’s left accent rail in sync. The star toggles priority with a springy pop, and the “Add note” action reveals an inline composer that stamps each saved note with the current day and time. Every meaningful change surfaces a brief toast for feedback.

It is built from semantic, accessible markup — aria-pressed on toggles, labelled controls, visible keyboard focus, and AA-contrast text — and ships as plain HTML, CSS, and vanilla JavaScript with no frameworks or build step. The layout stays comfortable down to roughly 360px wide via a dedicated mobile breakpoint, and honours prefers-reduced-motion.

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