# M splitting text 1

> Hero headline — word-level slide-up with spring transition

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

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

## Install

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

## Files

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

```tsx
"use client";

import { SplittingText } from "@/registry/default/motion/splitting-text";

export default function SplittingTextHero() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-3 px-6">
      <SplittingText
        as="h1"
        className="max-w-xl text-center font-bold text-4xl text-foreground tracking-tight sm:text-5xl"
        preset="slide-up"
        splitBy="words"
        staggerDuration={0.07}
        transition={{ damping: 22, stiffness: 220, type: "spring" }}
      >
        Motion components for modern web apps
      </SplittingText>
    </div>
  );
}
```
