Website kits › Squint › Fit guide
Your frame width from the numbers in your glasses, a ruler, or the screen after a bank-card calibration, then every frame ranked against it.
Fit guide is a fit guide 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: card calibration, fit ranking, saved size.
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 | ||
seed | boolean | ||
onNavigate | (page: string) => void |
numbers(lens: number, bridge: number, arm: number): void: Set the three numbers from a pair of glasses.destroy(): voidimport SquintFit from './SquintFit';
<SquintFit />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Eyewear store website, UK (pounds).