# M text along path 1

> Circular badge — text loops continuously around a circular path

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

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

## Install

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

## Files

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

```tsx
"use client";
import { TextAlongPath } from "@/registry/default/motion/text-along-path";

export default function TextAlongPathCircle() {
  return (
    <div className="flex min-h-50 items-center justify-center px-6">
      <div className="size-44">
        <TextAlongPath
          animationType="auto"
          duration={8}
          path="M 50,10 A 40,40 0 1,1 49.99,10"
          text="cnippet ui • motion components • "
          textClassName="text-[5px] fill-foreground font-medium uppercase tracking-widest"
          viewBox="0 0 100 100"
        />
      </div>
    </div>
  );
}
```
