Cnippet

Variable Font Proximity Nav

Navigation 43

About

A navigation menu whose items thicken their variable font weight as the cursor approaches, using an exponential proximity falloff.

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

Code

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

Usage.tsx

import VariableFontCursorProximityNav from "@/components/ui/m-variable-font-cursor-proximity-3";

export default function Default() {
  return (
    <div className="flex min-h-64 w-full items-center justify-center">
      <VariableFontCursorProximityNav />
    </div>
  );
}

More by Cnippet

View all
  • Team

    Team

    1.4K
  • Davincho Hero-1

    Davincho Hero-1

    721
  • Aero Hero-3

    Aero Hero-3

    638
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    602
  • Features

    Features

    542
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    497
  • Text Reveal

    Text Reveal

    408
  • Blogs

    Blogs

    407

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    169
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    442
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    33
  • Sidebar

    Sidebar

    444
  • Tabs

    Tabs

    38
  • Pagination

    Pagination

    121
  • Sidebar

    Sidebar

    367
  • Stacked Circular Footer

    Stacked Circular Footer

    470