
N° 0964 · text
Read-more Clamp is a text animation. It responds to click and expand. Palettes: Record shop, Listening room, Birch, Fjord and Heather.
The body is clamped with -webkit-line-clamp: var(--rx-lines) (paragraphs run inline while clamped). A ResizeObserver compares scrollHeight to clientHeight and toggles .is-over, which shows the button and the fade. Opening: read the clamped height, remove the clamp, read scrollHeight, set height to the first value, force layout, set it to the second; the height transition (380 ms) runs and on transitionend the inline height is cleared so later reflows are free. Closing: measure the clamped height by toggling the class, tween from the open height to it, then re-apply the clamp and clear the height. aria-expanded and the label follow the state.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0964 · text

N° 0963 · text

N° 0962 · text

N° 0838 · text

N° 0836 · text

N° 0385 · text

N° 0387 · text

N° 0389 · text

N° 0964 · text

N° 0800 · toggle

N° 0831 · card

N° 0828 · loader

N° 0826 · loader

N° 0817 · overlay

N° 0823 · image

N° 0822 · image