Website kits › Vitrine › Object of the month
Zoom into a repaired jar to its catalogue notes: pick a note and the view flies there on a spring; drag and the pan glides after a fling.
Object of the month is an object 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: zoom viewer, pinned notes, velocity pan.
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). |
object | string | ||
onNavigate | (page: VWXPage, anchor?: string) => void |
focus(i: number): voiddestroy(): voidimport VitrineObject from './VitrineObject';
<VitrineObject />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Museum website.