Ink Bleed Text
A serif headline that soaks into the page: each word lands as a wet blot of ink that spreads through the paper fibres (an SVG turbulence displacement relaxing to zero), then dries crisp from a soft blur, word by word.
Try it: Scroll it into view; press Replay to bleed the ink again.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/ink-bleed-text.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/ink-bleed-text. You can also copy the source into components/ui/ink-bleed-text.tsx (view on GitHub).
Usage
import { InkBleedText } from '@/components/ui/ink-bleed-text'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
text | string | 'Good ideas spread slowly, then all at once.' | The sentence (kept intact for screen readers). |
highlight | string | 'spread slowly' | Word(s) inside text printed in italic accent ink. |
as | 'h1' | 'h2' | 'h3' | 'p' | 'h2' | Element to render. |
trigger | 'inView' | 'mount' | 'inView' | Start when scrolled into view or immediately. |
stagger / duration | number | 90 / 1400 | ms between words (30–200) and per-word drying time (600–3000). |
accent | string | '#9f1239' | Ink colour for the highlight and blots. |
showReplay / onComplete | boolean / () => void | true | Replay button; callback when the ink has dried. |
Dependencies
motionlucide-react
Related Text Animations components
- Tumble Letters
A headline of physical letters: drop them and they fall, spin, bounce and pile against each other on the floor; hover lifts letters in a wave, any letter can be grabbed and flung, and Reassemble…
- Sparkle Text
A word that catches the light: four-point stars bloom and fade around it on staggered clocks while the letters carry a soft ink-to-accent gradient. Sparkles on scroll-in or hover, then rests.
- Glyph Weather
Glyphs drift with scroll direction.
- Highlight Marker Text
Editorial copy annotated by hand: as it scrolls into view a marker sweeps behind one phrase, an underline draws under the next, a pen circle loops another and a strike crosses one out, in sequence.…
- Wordloom
Words weave out as threads and resolve the next.
- Word Cycle Text
A headline whose key word keeps changing its mind: each word rises letter by letter out of a soft blur inside a tinted capsule that resizes on a spring while the line glides to make room.