- 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
ReactNode
The content items to scroll in the marquee (logos, text, cards, etc.).
number
default:"4"
Number of repeated tracks to avoid gaps.
boolean
default:"false"
Pause animation while hovering.
boolean
default:"false"
Reverse direction.
boolean
default:"false"
Animate the marquee vertically instead of horizontally.
string
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.