Command Palette

Search for a command to run...

Docs
Fuzzy Text

Fuzzy Text

Canvas-based fuzzy text effect with interactive hover-to-intensify distortion

Installation

Examples

Hover Intensified

Purple text with subtle base fuzz that intensifies dramatically on hover — great for interactive hero elements.

Always Fuzzy (No Hover)

Static fuzzy effect with hover disabled. Fixed pixel font size for consistent rendering.

Usage

import FuzzyText from "@/components/motionx/fuzzy-text";

Basic usage

<FuzzyText fontSize="clamp(2rem, 8vw, 5rem)" fontWeight={900} color="#fff">
  Hello World
</FuzzyText>

Custom hover intensity

<FuzzyText
  fontSize={64}
  fontWeight={800}
  color="#a855f7"
  baseIntensity={0.1}
  hoverIntensity={0.8}
>
  Hover Me
</FuzzyText>

No hover interaction

<FuzzyText
  fontSize={48}
  color="#38bdf8"
  enableHover={false}
  baseIntensity={0.3}
>
  Always Fuzzy
</FuzzyText>

Props

PropTypeDefaultDescription
childrenReact.ReactNodeText content to render (required)
fontSizenumber | string"clamp(2rem, 8vw, 8rem)"Font size — accepts px number or CSS clamp/string
fontWeightstring | number900Font weight value
fontFamilystring"inherit"Font family — "inherit" uses parent's font
colorstring"#fff"Text fill color (any valid CSS color)
enableHoverbooleantrueEnable hover-to-intensify interaction
baseIntensitynumber0.18Base fuzz distortion intensity (0 = none, 1 = max)
hoverIntensitynumber0.5Fuzz intensity when hovering over text