Back to AIX Effects LibraryQA Verified · Synced
Typography & Text/<TextDistortion />·Intermediate

Text Distortion / Displacement

Leverages native SVG turbulence filtering mutated through DOM refs so semantic DOM copyability and resting sharpness remain 100% intact.

Next.js 16+React 19TypeScriptTailwind CSSSVG Filters
Sweep cursor rapidly over typographyfeDisplacementMap · scale 28
FLUID TYPE
Zero-dep SVG Turbulence · Auto-idle rAF shutdown

Sweep pointer quickly over text or tap to trigger displacement wave.

Installation

Zero External Dependencies

Zero external dependencies — uses React DOM refs and SVG filters.

Usage

import { TextDistortion } from '@/components/effects/library/typography/TextDistortion'

<TextDistortion
  text="FLUID TYPE"
  maxScale={28}
  baseFrequency={0.022}
  className="text-4xl sm:text-5xl text-neutral-950 dark:text-white"
/>

Props & API Reference

4 props
PropTypeDefaultDescriptionEffect
textstring(required)Display text enclosed in turbulence filter.Preserves accessible text selection.
maxScalenumber28Maximum SVG displacement magnitude in pixels.Scales peak ripple wave amplitude.
baseFrequencynumber0.022Fractal turbulence frequency controlling wave tightness.Fine tunes ripple wavelength tightness.
accentColorstring'#536dfe'Subtle glow drop-shadow tint.Adds ambient halo around typography.

More in Typography & Text

View All 36 →

Crafteveryframewithintent.

Split Text Reveal

Clip-masked word or character headline rise choreography with zero CLS.

View Details
blur(12px) → 0px

Opticalclaritysharpeneddeliberatelywordbyword.

Click Refocus or adjust blur radius slider

Blur & Focus Reveal

Words lock sharply into view from initial Gaussian blur and micro-scale compression.

View Details
Interfaces shaped by
Precision

Kinetic Word Switcher

Smooth phrase rotator supporting vertical slide and optical blur swap transitions.

View Details