Velocity X Components

Carousels & Tickers

Text Marquee

CSS-only scrolling text strip for announcements, joining phrases with a separator glyph and looping infinitely.

Free MIT licensed. Install it with the CLI — no account, no key.
bash
$ velocityx add text-marquee

Built for astro.

Full docs for Text Marquee →

astro v1.0.0
Text Marquee
Free shipping over $100 New drop every Friday 30-day returns
Free shipping over $100 New drop every Friday 30-day returns

Props

NameTypeRequiredDefaultDescription
itemsstring[]Yes
separatorstringNo'✦'
speednumberNo22
direction'left' | 'right'No'left'
size'sm' | 'md' | 'lg'No'md'

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/text-marquee/TextMarquee.astro

Using the Text Marquee component

Install it with velocityx add text-marquee. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Carousels & Tickers.