Skip to Content

Marquee

A data display component that horizontally loops a continuous, infinitely scrolling banner of content. 

Vertical Orientation

Set the orientation prop to vertical to change the orientation of the component.

Animation Classes

You can set directly the CSS variables to control the animation behavior.

Customizing

globals.css
:root { --ex-marquee-gap-x: calc(var(--spacing) * 8); --ex-marquee-gap-y: calc(var(--spacing) * 8); --ex-marquee-delay: 0s; --ex-marquee-ease: linear; --ex-marquee-duration: 20s; --ex-marquee-fill: forwards; --ex-marquee-direction: normal; --ex-marquee-count: infinite; --ex-marquee-play: running; --ex-marquee-animation-x: marquee-scroll-x; --ex-marquee-animation-y: marquee-scroll-y; }

API

Marquee

ElementSelector
Marquee.ex-marquee
PropTypeDefault
asElementTypediv
asChildbooleanfalse
orientationenum of ["horizontal", "vertical"]horizontal

Marquee Track

ElementSelector
Marquee.Track.ex-marquee-track
PropTypeDefault
asElementTypediv
asChildbooleanfalse

Marquee Item

ElementSelector
Marquee.Item.ex-marquee-item
PropTypeDefault
asElementTypediv
asChildbooleanfalse
Last updated on