213
An oversized headline that scrolls forever in alternating solid and outlined words, gliding to a halt when you hover instead of freezing mid-word.
akamarquee·ticker·scrolling text
Run this in any project set up for the shadcn CLI. It copies the Marquee Text source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/marquee-text.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { MarqueeText } from "@/components/marquee-text";
export default function Page() {
return <MarqueeText />;
}A free React motion component in the Text collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Marquee Text source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| wordsrequired | string[] | — |
| speed | number | 56 |
| direction | "left" | "right" | "left" |
| pauseOnHover | boolean | true |
| paused | boolean | false |
| separator | ReactNode | <span className="mx-[0.28em] inline-block size-[0.16em] rounded-full bg-brand-ink align-middle" /> |
| className | string | — |