Marquee
An endless strip that drifts left, right, up or down, pauses on hover, fades at the edges and can be dragged.
pixikit.com/docs/components/marquee
Customize
Direction
Speed40px/s
Gap12px
Pause on hover
Fade
Draggable
Font size18px
Height320px
Props
11| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | None | What scrolls past: logos, chips, cards. It repeats as often as the strip needs to stay full. Left out, `items` show as chips. |
items | string[] | ["Aurora", "Split Flap", "Border Beam", "Dot Wave", "Orbit", "Gradient Text"] | The words shown as chips when there are no children. |
direction | "left" | "right" | "up" | "down" | "left" | The way the strip moves. |
speed | number | 40 | How fast the strip moves, in pixels per second. |
gap | number | 12 | The space between items, in pixels. |
pauseOnHover | boolean | true | Stop while the pointer is over the strip or something in it has keyboard focus. |
fade | boolean | true | Fade the strip out at both ends. |
draggable | boolean | false | Drag the strip to scroll it; it glides on after a flick, then drifts again. |
fontSize | number | 18 | The text size of the chips made from `items`, in pixels; the chips grow with it. Children are left as they are. |
height | number | 320 | The strip's height in pixels when it moves up or down. |
className | string | None |