Mehi

Proximity Type

Text 13

About

A headline text effect where each character's font weight chases the pointer's distance with smoothed lag, glowing and spacing out near the cursor and gently breathing when idle.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Proximity Type to your project and fits it to your theme.

Code

How Proximity Type is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ProximityType from "@/components/ui/proximity-type";

export default function ProximityTypeDemo() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-background px-8">
      <ProximityType
        text="Gravity has a typeface."
        as="h1"
        radius={180}
        weightRange={[340, 900]}
        className="text-foreground"
      />
    </div>
  );
}

More by Mehi

View all
  • Border Beam Panel

    Border Beam Panel

    1K
  • Compare Reveal

    Compare Reveal

    331
  • Decrypt Text

    Decrypt Text

    263
  • Holo Card

    Holo Card

    260
  • Magnetic Dock

    Magnetic Dock

    180
  • Luminous Topography

    Luminous Topography

    118
  • Lens Card

    Lens Card

    93
  • Animated Grid

    Animated Grid

    74

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    6
  • Rainbow Text Effect

    Rainbow Text Effect

    60
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    1
  • Shine Border

    Shine Border

    1K
  • Scroll Fill Headline

    Scroll Fill Headline

    32
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    133
  • Text Reveal

    Text Reveal

    383
  • Blur Reveal

    Blur Reveal

    373