Toggle Sidebar B
AppearanceLight & dark mode D

Fuzzy Text

Vibrating fuzzy text with controllable hover intensity.

Default

Every prop is wired to the controls underneath. Hover the text to raise the fuzz, or turn on Glitch Mode for random bursts.

Dark previewReplay previewOpen in new tab

Customize

Base Intensity0.2
Hover Intensity0.5
Fuzz Range30
FPS60
Transition Duration0
Letter Spacing0
Direction
Glitch Interval2000
Glitch Duration200

API Reference

FuzzyText

PropTypeDefaultDescription
textstring""The text content to display inside the fuzzy text component (the original takes it as children).
fontSizenumber | string"clamp(2rem, 8vw, 8rem)"Specifies the font size of the text. Accepts any valid CSS font-size value or a number (interpreted as pixels).
fontWeightstring | number900Specifies the font weight of the text.
fontFamilystring"inherit"Specifies the font family of the text. 'inherit' uses the computed style from the parent.
colorstring"#fff"Specifies the text color.
enableHoverbooleantrueEnables the hover effect for the fuzzy text.
baseIntensitynumber0.18The fuzz intensity when the text is not hovered.
hoverIntensitynumber0.5The fuzz intensity when the text is hovered.
fuzzRangenumber30Maximum pixel displacement for the fuzzy effect.
fpsnumber60Frame rate cap for the animation. Lower values reduce CPU usage.
direction"horizontal" | "vertical" | "both""horizontal"The axis/axes for the fuzzy displacement effect.
transitionDurationnumber0Number of frames to ease between intensity states for smooth transitions.
clickEffectbooleanfalseEnables a momentary burst of maximum intensity on click.
glitchModebooleanfalseEnables periodic random intensity spikes for a glitch effect.
glitchIntervalnumber2000Milliseconds between glitch bursts when glitchMode is enabled.
glitchDurationnumber200Milliseconds duration of each glitch burst.
gradientstring[] | nullnullArray of colors to create a gradient text effect (e.g. ["#ff0000", "#00ff00"]).
letterSpacingnumber0Extra pixels between characters.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • The text is painted on a canvas, so screen readers cannot read it. Put the same text in an aria-label or visually hidden element next to it.