Skip to content

    Browse components

    Heat Haze

    Type that ripples like heat haze through an SVG turbulence filter on hover, with an optional RGB fringe, then eases back to crisp.

    Open
    Customize

    hover
    always

    Installation

    npx shadcn@latest add @glint-ui/heat-haze

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/heat-haze.json

    Usage

    import { HeatHaze } from "@/components/ui/heat-haze";
    
    <HeatHaze text="Warp" strength={28} className="text-8xl font-black" />

    Props

    PropTypeDefaultDescription
    textstring"Warp"Text to warp.
    strengthnumber24Peak displacement in px.
    frequencynumber0.008Noise scale; lower is broader waves.
    speednumber1Speed of the flowing distortion.
    chromaticbooleantrueSplit RGB channels for a colored fringe.
    trigger"hover" | "always""hover"Warp on hover or keep a gentle warp running.
    as"p" | "h1" | "h2" | "h3" | "span" | "div""p"Element to render.
    classNamestring—Extra classes for the root element.