Marquee
A seamless infinite marquee: the cursor slows it down and nudges it with inertia, rows run in opposite directions, and keyboard focus pauses it.
- Plan
- Free · MIT
- Dependencies
- React only
- Props
- 9 (8 adjustable)
Free forever
MIT license, for personal and commercial projects. See installation
- Design
- Motion
- Detail
- Code
- Texture
- Rhythm
- Detail
- Code
- Texture
- Rhythm
- Design
- Motion
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | ReactNode[] | "Design, Motion, Detail…" | Marquee items: strings or any React node. |
speed | number | 70 | Base speed, in px per second. |
direction | "left" | "right" | "left" | Direction of the first row. |
rows | number | 2 | Number of stacked rows; each one runs opposite to the previous. |
gap | number | 36 | Space between items, in px. |
hoverSpeed | number | 0.14 | Speed while hovered, as a fraction of the base speed (0 = full stop). |
push | number | 0.6 | How much the cursor pushes the row as it moves over it (0 = none). |
fade | boolean | true | Fades out the edges. |
label | string | "Marquee" | Accessible label for the marquee. |
Installation
Install it
1Install the package
npm i furin-ui2Import it
import { Marquee } from "furin-ui";Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.
Dependencies
- React
- 18 or later
- Other libraries
- none
- License
- MIT
Each file ships its own CSS: there's nothing else to install.
Keep exploring
Pill Nav
FreeAccessible tabs (tablist, arrow keys, Home and End) with a pill that slides on a spring: the leading edge arrives first and stretches the pill as it crosses.
Navigation
Spring Accordion
FreeAn accessible accordion (aria-expanded, regions, arrow keys, Home and End) whose regions open on a real spring: the height bounces as it lands and the content comes in from blurry to sharp.
Navigation