Website kits › Squint › Product
Pick a tint and look through this frame’s own lens shape at the lake, with the measurements drawn to scale over yours.
Product is a product 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, to-scale front, tint maths.
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 | ||
product | string | ||
autoplay | boolean | ||
seed | boolean | ||
onNavigate | (page: string) => void |
show(id: string): voiddestroy(): voidimport SquintProduct from './SquintProduct';
<SquintProduct />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Eyewear store website, UK (pounds).