# M spinning text 1

> Badge ring — spinning label orbits a centered icon

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

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

## Install

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

## Files

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

```tsx
"use client";

import { SpinningText } from "@/registry/default/motion/spinning-text";

export default function SpinningTextBadge() {
  return (
    <div className="flex min-h-50 items-center justify-center px-6">
      <div className="relative flex items-center justify-center">
        <SpinningText
          className="h-32 w-32 font-semibold text-muted-foreground text-xs uppercase tracking-widest"
          duration={12}
          fontSize={0.6}
          radius={4.5}
        >
          {"cnippet ui • motion • "}
        </SpinningText>
        <div className="absolute flex h-12 w-12 items-center justify-center rounded-full bg-foreground text-background">
          <span className="font-bold text-lg">✦</span>
        </div>
      </div>
    </div>
  );
}
```
