Ligature pair specimen
A dark specimen grid of a typeface's eight joined pairs: hover, focus or press a pair to join it, or join all eight in sequence.
Links in the preview stay on the block.
Open on its ownThe prompt
One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.
506 words
# Ligature pair specimen One features section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML. ## Goal Show the personality of a joined serif by letting the visitor join and separate its discretionary ligatures. ## Structure 1. section head: headline, one paragraph, an outline button Join all eight 2. grid of eight cells, four by two, hairlines between 3. cell: the pair large and centred, below it a house name that uses it and a state word (Apart or Joined) 4. an alphabet and figures line under the grid ## Type Hento at clamp(72px, 8vw, 128px) for pairs, 22px for the house names, clamp(32px, 4.2vw, 64px) for the alphabet. Ysabeau Office 16px captions, 12px caps state words at 0.14em. ## Colour Section #21262B with #EAEBE9 text, captions #C9CDD1, hairlines #4A5057, hover cell #2C3136, focus ring #EAEBE9. ## Spacing and lines Cells at least 220px tall (170px on phones) with 24px padding. Grid 1px lines drawn as cell borders. ## Behaviour Each pair is two stacked spans, one with dlig off and one with dlig on; pressing toggles which is visible with a 360ms cross-fade, and hover or focus previews the joined form. Join all eight toggles every cell with a 70ms stagger and flips its own label. ## Responsive Two columns under 860px. ## Accessibility Each cell is a button with aria-pressed and a label that says the letters and what pressing does. The glyph layers are aria-hidden. Reduced motion: no fade or stagger. ## Built values (from code.html) - Fonts: Hento 400 (self-hosted: fonts/hento.woff2); Ysabeau Office 400 to 600 (self-hosted: fonts/ysabeau.woff2). Self-hosted files sit in fonts/ in the block download. - Colour variables: --portland #EAEBE9, --slate #21262B, --leaded #565C63, --hair #CFCDC6, --white #FFFFFF, --face-slate #3B4045, --cut-white #F2F1EC, --face-brass #B8963F, --enamel #151515, --face-stone #D9D4C7, --cut-grey #3A3A37. - Font variables: --serif "Hento", "Didot", Georgia, serif; --sans "Ysabeau Office", "Gill Sans", "Helvetica Neue", Arial, sans-serif. - Size variables: --s1 6px, --s2 12px, --s3 18px, --s4 24px, --s5 36px, --s6 54px, --s7 84px, --s8 132px. - Media queries: max-width 720px, max-width 860px, prefers-reduced-motion. - No media files. - Script: none, CSS only. ## Content to replace - [Pairs]: the font's discretionary ligature pairs - [Words]: one real word per pair that uses it - [Copy]: headline and one paragraph about the joins ## Rules Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA. ## Output Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.
More like this
Features
Same page







