Website kits › Negative › Home

Home

A medium-format camera in 3D whose ground glass shows the frame under the loupe; then the contact sheet, where a china-marker circle opens the full frame.

Home is a home page from Negative, a website kit with 6 pages: A photographer’s portfolio on a contact sheet: move the loupe, circle a frame, and it opens full size. Price: $5 for the whole pack.

Built with: three.js camera, loupe contact sheet, pinned roll-to-print story.

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.

Home props

PropTypeDefaultDescription
darkboolean
autoplaybooleanMoves the loupe over the sheet by itself until the visitor touches the page (store covers).
photosRecord<stringYour own photos by key (see NZ_PHOTOS).
assetsstringFolder that holds fonts/ and camera.webp (the no-WebGL poster).
onNavigate(page: string) => void

Methods on the ref

Use it in React

import NegativeHome from './NegativeHome';

<NegativeHome />

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

More in Negative

Good for: Photography portfolio.