Website kits › Squint › Home
Move across a real lake in full sun: only the view inside the lenses takes the tint, and the polarised lens pulls the glare off the water.
Home is a home page from Squint, a website kit with 5 pages: A working eyewear store: look through each lens at a real lake, fit by the millimetre, prescriptions at checkout. Price: $5 for the whole pack.
Built with: lens view on real pixels, glare removal, spring follow.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
photos | Record<string | ||
autoplay | boolean | Drift the lenses across the view and change tint on their own (store showcase). | |
seed | boolean | ||
onNavigate | (page: string) => void |
tint(t: "grey" | "brown" | "green" | "yellow" | "polar"): voiddestroy(): voidimport SquintHome from './SquintHome';
<SquintHome />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Eyewear store website, UK (pounds).