# M colorful text 2

> Brand logotype — short all-caps word with custom violet-to-teal palette

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

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

## Install

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

## Files

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

```tsx
"use client";

import { ColorfulText } from "@/registry/default/motion/colorful-text";

const palette = ["#a855f7", "#6366f1", "#3b82f6", "#06b6d4", "#10b981"];

export default function ColorfulTextBrand() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-4 px-6">
      <ColorfulText
        as="h2"
        className="font-black text-6xl tracking-tighter"
        colors={palette}
        staggerDuration={0.06}
        transition={{ damping: 16, stiffness: 280, type: "spring" }}
      >
        CNIPPET
      </ColorfulText>
      <p className="text-muted-foreground text-sm">
        Custom brand palette — violet → teal
      </p>
    </div>
  );
}
```
