# M breathing text 1

> Weight + width wave — wght and wdth axes breathe left to right

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

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

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/m-breathing-text-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/breathing-text`

## Files

### `registry/default/motion-variants/m-breathing-text-1.tsx`

```tsx
"use client";

import { BreathingText } from "@/registry/default/motion/breathing-text";

export default function BreathingTextHero() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-3 px-6">
      <BreathingText
        as="h1"
        className="font-bold text-4xl text-foreground tracking-tight sm:text-5xl"
        duration={3}
        fromFontVariationSettings="'wght' 300"
        staggerDuration={0.08}
        staggerFrom="first"
        toFontVariationSettings="'wght' 700"
      >
        Build with motion
      </BreathingText>
      <p className="text-muted-foreground text-sm">
        Weight + width axis breathing left to right
      </p>
    </div>
  );
}
```
