StealThis .dev
Pages Hard

D2C — Hardware / Gadget Landing

A full one-page direct-to-consumer landing for Lumen Halo, a fictional 1,400-lumen pocket flashlight, rendered in spotlight-dark with an electric teal accent and a CNC-rendered product mockup. It runs a dramatic hero with floating device render and key specs, a maker social-proof row, interactive spec tabs, spotlight feature cards with a live color-finish picker, a four-step build process, a comparison table, owner reviews, a pre-order pricing card with quantity stepper, an accordion FAQ, a sticky buy bar and footer, all wired in vanilla JavaScript.

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

Code

Hardware / Gadget Landing

A polished, single-page direct-to-consumer site for Lumen Halo, an invented hardware brand selling the Halo X1 — a CNC-machined titanium pocket flashlight. The page leans into a true spotlight-dark palette (#0a0a0c) with an electric teal accent and a clean Inter / JetBrains Mono pairing, opening on a dramatic hero where a CSS-rendered device floats under a soft beam, flanked by spec callouts and headline output figures.

Below the fold the page is built like a spec-proud product story: a maker and first-responder logo row, an interactive four-tab spec panel (optics, power, build, smart), a feature grid with spotlight glows and a live color-finish picker that recolors the hero render, a four-step “billet to beam” process, a side-by-side comparison table, three owner reviews, a pre-order pricing card with founder pricing and a quantity stepper, an accordion FAQ, a sticky buy bar that slides in on scroll, and a footer with a newsletter form. The layout is fully responsive to ~360px with a hamburger menu, and accessible with semantic landmarks, a skip link, ARIA tabs and visible focus states.

Interactions are pure vanilla JavaScript: an IntersectionObserver drives staggered scroll reveals, the spec tabs support arrow-key navigation, the color swatches repaint the device via CSS variables, the FAQ accordion animates open, the quantity stepper updates the pre-order card, anchors smooth-scroll, the sticky buy bar and nav react to scroll position, and every CTA confirms through a reusable toast() helper. A prefers-reduced-motion guard disables motion for sensitive users.

Illustrative UI only — fictional brand, not a real product.