# M flip words 1

> Hero inline — adjectives flip inside a heading with primary colour accent

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

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

## Install

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

## Files

### `registry/default/motion-variants/m-flip-words-1.tsx`

```tsx
import { FlipWords } from "@/registry/default/motion/flip-words";

const adjectives = ["beautiful", "accessible", "composable", "performant"];

export default function FlipWordsHero() {
  return (
    <div className="flex min-h-50 items-center justify-center px-6">
      <h1 className="text-center font-bold text-4xl text-foreground tracking-tight sm:text-5xl">
        Build{" "}
        <FlipWords
          className="text-primary"
          duration={2500}
          words={adjectives}
        />
        <br />
        interfaces with ease
      </h1>
    </div>
  );
}
```
