Text effects
Wavy letter heading
Wavy letter heading: A heading whose letters ride a slow wave, each one lagging the last so the line ripples like a flag without losing its baseline.
Using Wavy letter heading
Wavy letter heading uses the wide preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
text | text | Everything here is waaaavy. | Up to 48 characters |
waveWord | text | waaaavy. | Up to 24 characters |
amplitude | number | 14 | From 2 to 40; step 1 |
cycleSeconds | number | 1.6 | From 0.6 to 4; step 0.1 |
letterDelay | number | 0.06 | From 0.01 to 0.2; step 0.01 |
accent | color | #FF4D8D | No additional limit in the metadata. |
Which frameworks are available for Wavy letter heading?
Wavy letter heading is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Wavy letter heading depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Wavy letter heading?
The React source for Wavy letter heading includes: attributes and handlers (aria-hidden, aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Wavy letter heading handle reduced motion?
Wavy letter heading reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduce ? "wlh-fade" : "wlh-wave-letter". Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.