# M scroll velocity text 1

> Word marquee — continuous horizontal scroll of tech-stack words, speeds up on scroll

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

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

## Install

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

## Files

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

```tsx
import { ScrollVelocityRow } from "@/registry/default/motion/scroll-velocity-text";

const words = [
  "React",
  "TypeScript",
  "Tailwind CSS",
  "Motion",
  "Next.js",
  "shadcn/ui",
  "Vite",
  "Radix UI",
];

export default function ScrollVelocityBasic() {
  return (
    <div className="flex min-h-50 items-center justify-center overflow-hidden">
      <ScrollVelocityRow baseVelocity={3}>
        {words.map((word) => (
          <span
            className="mx-6 font-medium text-base text-muted-foreground"
            key={word}
          >
            {word}
            <span className="mx-6 text-muted-foreground/30">•</span>
          </span>
        ))}
      </ScrollVelocityRow>
    </div>
  );
}
```
