Marquee API
import { Marquee } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
children | React.ReactNode | |
direction | MarqueeDirection | |
elevation | MarqueeElevation | |
fade | boolean | |
fadeSize | number | string | |
gap | number | string | |
padding | number | string | |
paused | boolean | |
pauseOnFocus | boolean | |
pauseOnHover | boolean | |
radius | number | string | |
size | MarqueeSize | |
speed | number | string | |
tone | MarqueeTone | |
variant | MarqueeVariant |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Marquee.Item props
| Prop | Type | Description |
|---|---|---|
as | keyof JSX.IntrinsicElements | |
children | React.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