# M morphing text 2

> Tech stack card — stack names morph inside a product card

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

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

## Install

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

## Files

### `registry/default/motion-variants/m-morphing-text-2.tsx`

```tsx
"use client";

import { MorphingText } from "@/registry/default/motion/morphing-text";

export default function MorphingTextCard() {
  return (
    <div className="flex min-h-50 items-center justify-center px-6">
      <div className="w-full max-w-sm rounded-2xl border border-border bg-card p-8 text-center shadow-sm">
        <p className="mb-2 font-semibold text-muted-foreground text-xs uppercase tracking-widest">
          Powered by
        </p>
        <MorphingText
          className="h-12 text-foreground [font-size:32pt]"
          texts={["Motion", "React", "Tailwind", "TypeScript"]}
        />
        <p className="mt-3 text-muted-foreground text-sm">
          The modern stack for animated UIs
        </p>
      </div>
    </div>
  );
}
```
