Fuzzy Text(015)

Canvas-driven CRT static fuzz and particulate distortion that scatters on interaction.

Hover

Installation

$npx kibo add fuzzy-text

Usage

1import { FuzzyText } from "@/components/kibo/fuzzy-text/component";
2
3export default function Example() {
4 return (
5 <FuzzyText />
6 );
7}

Props Reference

PropTypeDefaultDescription
childrenReact.ReactNode-Child elements or content to render inside the component.
fontSizenumber | string'clamp(2rem, 8vw, 8rem)'Font size in pixels, rems, or fluid clamp notation.
fontWeightstring | number900Font weight (e.g., 400, 700, 900, 'bold').
fontFamilystring'inherit'Custom font family to apply to the rendered typography.
colorstring'#fff'Text or primary fill color.
enableHoverbooleantrueWhether hovering over the element triggers or alters the animation.
baseIntensitynumber0.18Resting distortion or animation intensity (0 to 1).
hoverIntensitynumber0.5Peak animation intensity when hovered (0 to 1).
fuzzRangenumber30Controls the fuzz range for the component animation.
fpsnumber60Controls the fps for the component animation.
direction'horizontal' | 'vertical' | 'both''horizontal'Direction of movement (e.g., 'top', 'bottom', 'left', 'right').
transitionDurationnumber0Controls the transition duration for the component animation.
clickEffectbooleanfalseControls the click effect for the component animation.
glitchModebooleanfalseControls the glitch mode for the component animation.
glitchIntervalnumber2000Controls the glitch interval for the component animation.
glitchDurationnumber200Controls the glitch duration for the component animation.
gradientstring[] | nullnullControls the gradient for the component animation.
letterSpacingnumber0Controls the letter spacing for the component animation.
classNamestring''Additional CSS classes for styling and layout.