01
Overview
Render continuously looping horizontal or vertical ticker content with pause and reduced-motion safeguards.
Usage
02
When to use
Use when
- Showing repeating announcements, partner logos, or status strips in a constrained space.
- You need CSS-driven, seamless loop motion that can pause on hover/focus.
Avoid when
- Users need to manually scroll and inspect static overflow content. Use Scroll area instead
- Information should remain fixed in place without motion emphasis.
03
Examples
Announcement ticker
Continuously loop short announcements with pause on hover and focus.
Vertical status strip
Loop status messages vertically and pause while focused.
04
Props
| Name | Type | Default | Required | Bindable | Description |
|---|---|---|---|---|---|
direction | 'horizontal' | 'vertical' | 'horizontal' | Scroll direction for the looping track. | ||
duration | text | '24s' | Animation duration for one complete loop (valid CSS time). | ||
gap | text | '1.5rem' | Gap between repeated items (valid CSS length). | ||
label | text | Accessible region label for the marquee container. | |||
pauseOnHover | boolean | true | Pause animation while hovered (pointer-capable devices). | ||
pauseOnFocus | boolean | true | Pause animation while any child is focused. | ||
children | snippet | req | Rendered marquee content. |