- Location:
sabo/src/components/ui/marquee.tsx
Notes
- If your network blocks iframes or the anchor doesn’t scroll, the embed may show the page top. Use the gallery or record a short clip as a fallback.
- For static screenshots, prefer cropping a single logo row; for animation, use the embedded preview.
When to use
- Showcase partners/logos or cycle through short text items.
- Prefer horizontal motion; keep speed comfortable and repeat count modest.
Usage
sabo/src/components/ui/marquee.tsx
Key props
The content items to scroll in the marquee (logos, text, cards, etc.).
Number of repeated tracks to avoid gaps.
Pause animation while hovering.
Reverse direction.
Animate the marquee vertically instead of horizontally.
Additional CSS classes applied to the container div.
Styling tip
- The component includes predefined CSS classes (
animate-marquee,animate-marquee-vertical) for common use cases. - Customize speed and spacing by overriding CSS variables:
--duration(animation duration) and--gap(spacing between items) on the component or root element.