Marquee
Scrolling text/content ticker with CSS animations
Item 1Item 2Item 3Item 4Item 5
Accessibility
- Treat the component as presentational unless it exposes interactive affordances, and label any interactive affordances explicitly.
- Keep heading, reading, and focus order aligned with the surrounding content.
- Only add region semantics when the scrollable surface has a unique, meaningful label.
Styled quick start
Copy this entrypoint first. It includes the imports required to get the component on screen.
Import options
Root package
ts
import { Marquee } from '@dryui/ui' Per-component subpath
ts
import { Marquee } from '@dryui/ui/marquee' API
Props, CSS variables, and the public data attributes you can target when styling.
| Prop | Type | Description | Default | Required | Bindable |
|---|---|---|---|---|---|
| speed | number | — | 50 | — | — |
| direction | leftrightupdown | — | 'left' | — | — |
| pauseOnHover | boolean | — | false | — | — |
| fade | boolean | — | false | — | — |
| gap | string | — | '1rem' | — | — |
| children | Snippet | Content rendered inside the component. | — | ✓ | — |