Skip to main content
Version: Next

Marquee API

import { Marquee } from '@editora/ui-react';

Props​

PropTypeDescription
childrenReact.ReactNode
directionMarqueeDirection
elevationMarqueeElevation
fadeboolean
fadeSizenumber | string
gapnumber | string
paddingnumber | string
pausedboolean
pauseOnFocusboolean
pauseOnHoverboolean
radiusnumber | string
sizeMarqueeSize
speednumber | string
toneMarqueeTone
variantMarqueeVariant

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Marquee.Item props​

PropTypeDescription
askeyof JSX.IntrinsicElements
childrenReact.ReactNode

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-marquee>​

Marquee renders the ui-marquee custom element from @editora/ui-core, which can also be used without React.

Attributes: direction, elevation, fade, fade-size, gap, padding, pause-on-focus, pause-on-hover, paused, radius, size, speed, tone, variant