StealThis .dev
Pages Medium

Museum — Artifact / Artwork Detail

A curatorial artwork detail page for a fictional museum, pairing a large matted-and-framed image with click-to-zoom and drag-to-pan, a tidy object metadata panel (artist, date, medium, dimensions, credit line, accession number), a vertical provenance timeline, a curatorial note, and a more-from-this-gallery strip. An add-to-tour toggle, share and copy-accession actions round out the calm, gallery-like reading experience.

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

Code

Artifact / Artwork Detail

The object page a visitor reaches after picking a work from the collection. A large image sits inside a thin mat and frame on the left; clicking it opens a lightbox where the artwork can be zoomed with the wheel or the + / − controls and dragged to pan, evoking the close looking you do in a gallery. Inline zoom buttons and a live percentage keep the interaction legible, and everything is keyboard- and Escape-friendly.

The right column carries the curatorial record: a serif title, attributed workshop, and a definition list of date, medium, dimensions, classification, credit line, and accession number. Below it, a vertical provenance timeline traces the piece from its workshop origin through trust custody to the museum, with the current owner marked in gold. A curatorial note and a more-from-this-gallery strip extend the browse.

Primary actions are vanilla JS: an add-to-tour toggle that flips its label and pressed state, a share action (using the Web Share API where available), and a copy-accession-number button — each confirmed with a small toast. The layout uses a refined gallery palette with generous wall space and collapses cleanly down to roughly 360px.

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