Website kits › Vitrine › Collection

Collection

A gallery wall you search and filter; point at an object and its catalogue entry wipes across the photograph from the side you came in.

Collection is a collection page from Vitrine, a website kit with 4 pages: A museum website where you turn the object of the month in 3D and zoom into a collection photograph to its catalogue notes. Price: $5 for the whole pack.

Built with: pointer-side wipe, filter re-hang, museum labels.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). Uses three. Keyboard accessible, with a reduced-motion version, in dark and light.

Collection props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosVWXPhotos
assetsstringthe Motionmart CDN)Base URL of the kit's fonts (default: the Motionmart CDN).
onNavigate(page: VWXPage, anchor?: string) => void
onOpen(id: string) => void

Methods on the ref

Use it in React

import VitrineCollection from './VitrineCollection';

<VitrineCollection />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Vitrine

Good for: Museum website.