Marquee
The marquee component is used to create a looping scrolling text or content display effect.
Basic Usage
Pass the content to be scrolled through the default slot.
Vertical Scrolling
Setting the vertical attribute can achieve vertical scrolling.
Attributes
| Attribute | Description | Type | Default |
|---|---|---|---|
| duration | Time required for one scroll (seconds) | number | 20 |
| reverse | Whether to scroll in reverse | boolean | false |
| gap | Spacing between scrolling content | string | '8px' |
| height | Component height | string | '100%' |
| vertical | Whether to scroll vertically | boolean | false |
