Layout Fancy Stable

Marquee

Infinite scrolling component for text, images, or cards

Preview

Installation

pnpm add fancy-ui-svelte
import { Marquee } from 'fancy-ui-svelte'

Usage

svelte
<script lang="ts">
  import { Marquee } from 'fancy-ui-svelte';
</script>

<Marquee />

Examples

Basic Usage

Vertical

Vertical scrolling direction.

Props

PropTypeDefaultDescription
reverse booleanfalseReverse the scroll direction
pauseOnHover booleanfalsePause animation on hover
vertical booleanfalseScroll vertically instead of horizontally
repeat number4Number of times to repeat children for seamless loop

Slots

SlotDescription
childrenContent to repeat and scroll