# M variable font hover 1

> Navigation links — letters bold from center outward on hover

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/m-variable-font-hover-1).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-variable-font-hover-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-variable-font-hover-1-light-0d55dc00d84a7170.png
- Registry item: https://ui.cnippet.dev/r/m-variable-font-hover-1.json
- Categories: variable font hover
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/m-variable-font-hover-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/variable-font-hover`

## Files

### `registry/default/motion-variants/m-variable-font-hover-1.tsx`

```tsx
"use client";
import { VariableFontHover } from "@/registry/default/motion/variable-font-hover";

const navLinks = ["Products", "Solutions", "Pricing", "Company", "Blog"];

export default function VariableFontHoverNav() {
  return (
    <nav className="flex min-h-50 flex-wrap items-center justify-center gap-8 px-6">
      {navLinks.map((link) => (
        <VariableFontHover
          className="cursor-pointer text-base text-muted-foreground transition-colors hover:text-foreground"
          fromFontVariationSettings="'wght' 400"
          key={link}
          label={link}
          staggerDuration={0.03}
          staggerFrom="center"
          toFontVariationSettings="'wght' 700"
        />
      ))}
    </nav>
  );
}
```
