# M variable font hover 3

> CTA links — three links each using a different staggerFrom origin

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-3).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-variable-font-hover-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-variable-font-hover-3-light-56c48203fa06b294.png
- Registry item: https://ui.cnippet.dev/r/m-variable-font-hover-3.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-3.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-3.tsx`

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

const items = [
  {
    from: "'wght' 400",
    from2: "first" as const,
    label: "Get started free",
    to: "'wght' 800",
  },
  {
    from: "'wght' 300",
    from2: "center" as const,
    label: "View documentation",
    to: "'wght' 700",
  },
  {
    from: "'wght' 400",
    from2: "last" as const,
    label: "See examples",
    to: "'wght' 900",
  },
];

export default function VariableFontHoverCTA() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-5 px-6">
      {items.map((item) => (
        <VariableFontHover
          className="cursor-pointer text-2xl text-foreground"
          fromFontVariationSettings={item.from}
          key={item.label}
          label={item.label}
          staggerDuration={0.02}
          staggerFrom={item.from2}
          toFontVariationSettings={item.to}
        />
      ))}
    </div>
  );
}
```
