No.510 · Type & Names
Loupe Roster
A dense wall of tiny names in mono, with a circular loupe following the pointer that magnifies whichever names it passes over.
The prompt
Written for the variant you picked above: Amber
Lay out a paragraph of dozens of names in Geist Mono at 0.72rem, uppercase, dim grey, separated by middle dots. On pointer move, render a second copy of the same paragraph on top: an outer layer clipped with clip-path circle(72px at pointer) and given a dark opaque background, containing an inner layer scaled 2.4× with transform-origin at the pointer — because both copies share the same layout, the magnified names line up exactly under the lens. Bright white text shows inside. Add an accent ring with glow around the lens. Arrow keys move the lens by 28px when the region is focused; touch drags it. Selected variant — Amber (amber): accent="#e8a24a" (amber lens ring); the paragraph is a list of ~40 engineering skills repeated twice. This selection takes precedence over references to other themes or options in the general brief. Implement this selected appearance; do not add a variant picker or alternative appearances unless requested. Implementation requirements: Use React and TypeScript. Keep the component self-contained, with uniquely scoped CSS and no animation libraries. Include required imports, styles and font setup in the result. Interaction: Pointer or finger moves the loupe; arrow keys move it under keyboard focus; leaving hides it. Motion: No keyframes — the clip-path and transform-origin follow the pointer through CSS variables. Accessibility: Focusable region with label and arrow-key control; the magnified copy is aria-hidden so names are read once. Responsive behavior: Text reflows with its container; the loupe radius and zoom are props. Preserve keyboard access, visible focus and reduced-motion behavior. Keep fictional demo data and simulated service calls in a separate usage example; expose callbacks for real actions and recover from rejected requests. Keep usage-example links inside the demo: use local buttons or prevent navigation. Demonstration links must not navigate to Vitrine routes or open other pages; preserve real URL support in the reusable component itself. Verify the result at narrow and wide viewport sizes, with keyboard input and reduced motion enabled.
Notes
- Interaction
- Pointer or finger moves the loupe; arrow keys move it under keyboard focus; leaving hides it.
- Motion
- No keyframes — the clip-path and transform-origin follow the pointer through CSS variables.
- Accessibility
- Focusable region with label and arrow-key control; the magnified copy is aria-hidden so names are read once.
- Responsive
- Text reflows with its container; the loupe radius and zoom are props.