Website kits › Vitrine › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | VWXPhotos | ||
assets | string | the Motionmart CDN) | Base URL of the kit's fonts (default: the Motionmart CDN). |
onNavigate | (page: VWXPage, anchor?: string) => void | ||
onOpen | (id: string) => void |
destroy(): voidimport VitrineCollection from './VitrineCollection';
<VitrineCollection />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Museum website.