No.508 · Type & Names
Flourish Name
A name in italic serif that signs itself: a calligraphic swash draws under it with a thick-thin stroke, then the ink dot lands.
The prompt
Written for the variant you picked above: Ivory
Set a name in Instrument Serif italic in the ink colour, clamp(3–6rem), which fades and un-blurs in when scrolled into view. Beneath it draw a calligraphic swash as an SVG cubic path with pathLength=1: one thick stroke (3.2px) and one hairline copy (0.8px, offset 2px, 70% opacity), both animated with stroke-dashoffset 1→0 over 1.7s on an ease-in-out curve so they read as a thick-and-thin pen stroke. When the stroke completes, an ink dot at its end pops from scale 0 with overshoot. Clicking replays the signature. Selected variant — Ivory (ivory): ink="#f4efe6" (ivory) on #0c0b0a; name "Hamza". 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: Signs itself when scrolled into view (IntersectionObserver); click or Enter replays. Motion: stroke-dashoffset draw (1.7s) on two paths, staggered; dot pop; text fade/blur reveal. Accessibility: The whole signature is a button labelled with the name; reduced motion shows the finished signature statically. Responsive behavior: The name uses clamp() and the swash SVG scales to width. 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
- Signs itself when scrolled into view (IntersectionObserver); click or Enter replays.
- Motion
- stroke-dashoffset draw (1.7s) on two paths, staggered; dot pop; text fade/blur reveal.
- Accessibility
- The whole signature is a button labelled with the name; reduced motion shows the finished signature statically.
- Responsive
- The name uses clamp() and the swash SVG scales to width.