# Clip Reveal Services

**Group:** Text effects  
**Recording:** [https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/clip-reveal-services.mp4](https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/clip-reveal-services.mp4)  
**Source:** [https://ui.aryank.space/components/clip-reveal-services](https://ui.aryank.space/components/clip-reveal-services)  
**Human:** https://blankinterfaces.com/lab/clip-reveal-services

---

## What it is

Copy that fills in as you read it, and a three line masthead that assembles then collapses. Each paragraph is duplicated through a pseudo element and the bright copy is clipped from the bottom up on scroll, so the grey text is overwritten line by line rather than faded. The service lines slide in from alternating sides, then the section pins: the outer two close on the middle one, and once stacked all three scale down together.

## Behaviour

### Two copies of the same text, one clipped

The bright text is a pseudo element fed from a data attribute and clipped with inset from the bottom, so it overwrites the grey original in place. No per-word splitting, so line breaks can never disagree between the layers.

### The masthead assembles then shrinks

The first half of the pin closes the outer two lines onto the middle one, the second half scales all three down together, so stacking and shrinking never overlap.

### pinSpacing is off on purpose

The services section pins without reserving space, which is what lets the copy below slide up over it on its own large top margin.

---

[View all content](https://blankinterfaces.com/sitemap.md)
