StealThis .dev
Pages Hard

Museum — Collection Browse

A curatorial collection-browse page for a fictional art museum. A masonry-style grid of artifact cards shows title, artist, date, medium, gallery, and catalog number, each framed like a hung work. A left filter rail refines by era, medium, gallery, and department with live result counts, while sort controls reorder by acquisition date or title. Clicking any object opens an accessible quick-view overlay with full tombstone details, all driven client-side over a seeded array of two dozen works.

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

Code

Collection Browse

A refined, gallery-like browse experience for a permanent museum collection. The page pairs a sticky left filter rail with a responsive grid of framed artifact cards, each presenting an object’s title in a serif display face alongside its artist, date, medium, gallery, and catalog number. Solid gradient blocks stand in for artwork imagery, matted inside thin white frames to evoke works hung on a wall.

The filter rail offers four faceted groups — era, medium, gallery, and department — each rendered with live per-value counts derived from the data. Toggling any facet filters the grid instantly, updates a running result count, and adds a removable chip to the results bar. A sort control reorders objects by newest or oldest acquisition, or by title A–Z and Z–A. When no objects match, an empty state offers a one-click reset.

Clicking a card opens a modal quick view with the object’s gradient enlarged beside a full tombstone: medium, department, gallery, era, acquisition year, and object number, plus a short curatorial note and a save-to-list toggle. The overlay traps focus, closes on Escape or backdrop click, and restores focus to the originating card. Everything runs in vanilla JavaScript over a seeded array of twenty-four fictional works, with a small toast helper confirming actions.

Illustrative UI only — demo data; not a real museum system.