No.511 · Type & Names
End Credits
Film-style end credits: roles in right-aligned mono, names in left-aligned italic serif, split on a hairline and rising slowly through a fade mask.
The prompt
Written for the variant you picked above: Amber
Build a looping end-credits roll. Each row is a three-column grid: role on the left in Geist Mono uppercase (0.6875rem, 0.16em, accent colour) right-aligned, a 1px vertical hairline that fades at both ends, and the names on the right in Instrument Serif italic (clamp 1.3–1.9rem). Render the list twice inside one track and translate the track -50% over 28s linear infinitely for a seamless loop. Mask the top and bottom 18% with a gradient so rows emerge from and dissolve into darkness. Hover or focus pauses the roll. Selected variant — Amber (amber): accent="#e8a24a" (amber roles) on #0c0b0a. 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: Rolls continuously; hover or keyboard focus pauses it. Motion: Seamless translateY(-50%) loop, 28s linear, paused on hover/focus. Accessibility: Region is focusable and labelled; the duplicate list is aria-hidden. Reduced motion stops the roll and makes it scrollable. Responsive behavior: Two-column grid scales with clamp() type and fills its container height. 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
- Rolls continuously; hover or keyboard focus pauses it.
- Motion
- Seamless translateY(-50%) loop, 28s linear, paused on hover/focus.
- Accessibility
- Region is focusable and labelled; the duplicate list is aria-hidden. Reduced motion stops the roll and makes it scrollable.
- Responsive
- Two-column grid scales with clamp() type and fills its container height.