StealThis .dev
Pages Hard

Auto — Vehicle Inventory Grid

A dealership pre-owned inventory grid built in an industrial, status-forward style. A sticky filter rail toggles make, body, and fuel chips, ranges trim price and mileage, and selects clamp the model-year window, while a search box scans across make, model, VIN, plate, and trim. Vehicle cards pair gradient photos with year, make, model, mileage, fuel badges, and tabular pricing. Sort the grid, save with the heart, quick-view any unit, then tick up to three cars into a compare tray that opens a best-value comparison table.

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

Code

Vehicle Inventory Grid

A pre-owned sales screen for a fictional dealership, styled in the same industrial, safety-orange language as the rest of the auto set. A sticky filter rail on the left carries make, body, and fuel chips, two range sliders for max price and max mileage, and a paired from/to model-year selector. The search field in the dark top bar scans across year, make, model, trim, body, fuel, VIN, and plate at once, so a partial code or a stock phrase narrows the grid instantly.

Each result is a card with a gradient vehicle photo, status badges (Hot deal, Certified, Reduced), the year/make/model in a clear hierarchy, mileage and fuel specs in tabular figures, and a price that strikes through MSRP when a unit is marked down. Every filter and the sort menu recompute the grid live, with a graceful empty state when nothing matches. Tap the heart to save a car, open Quick view for a full spec sheet in a modal, or tick the Compare box.

Up to three vehicles drop into a bottom compare tray; opening it builds a side-by-side table that highlights the lowest price, lowest mileage, and newest year with a check. Saving, comparing, and filtering all fire small toasts, the rail slides up as a sheet on mobile, and the whole layout reflows to a single column down to about 360px.

Illustrative UI only — fictional shop/dealership, not a real service system.