# M breathing text 3

> Heading + subtitle pair — two instances with opposite stagger directions

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

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-breathing-text-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-breathing-text-3-light-72ee5fe66600a4c7.png
- Registry item: https://ui.cnippet.dev/r/m-breathing-text-3.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-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/breathing-text`

## Files

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

```tsx
"use client";

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

export default function BreathingTextSubtitle() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-4 px-6">
      <BreathingText
        as="h1"
        className="font-bold text-4xl text-foreground tracking-tight sm:text-5xl"
        duration={3}
        fromFontVariationSettings="'wght' 700"
        staggerDuration={0.06}
        staggerFrom="last"
        toFontVariationSettings="'wght' 300"
      >
        Motion primitives
      </BreathingText>
      <BreathingText
        as="p"
        className="text-base text-muted-foreground"
        duration={2.8}
        fromFontVariationSettings="'wght' 300"
        staggerDuration={0.04}
        staggerFrom="last"
        toFontVariationSettings="'wght' 700"
      >
        Copy-paste animated components for modern web apps
      </BreathingText>
    </div>
  );
}
```
