# react-infinite-ticker

> React component that scrolls children infinitely

Latest version **2.3.0** (published 2025-12-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-infinite-ticker
pnpm add react-infinite-ticker
yarn add react-infinite-ticker
bun add react-infinite-ticker
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.3.0 |
| Published | 2025-12-11 |
| First published | 2021-09-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Wojciech Grzebieniowski |
| Maintainers | g12i |
| Keywords | react, infinite, news, ticker, marquee, news ticker |

## Links

- npm: https://www.npmjs.com/package/react-infinite-ticker
- Repository: https://github.com/g12i/react-infinite-ticker
- Homepage: https://g12i.github.io/react-infinite-ticker/
- Issues: https://github.com/g12i/react-infinite-ticker/issues
- npm.io page: https://npm.io/package/react-infinite-ticker

## Dependencies (1)

- [@react-hook/resize-observer](https://npm.io/package/@react-hook/resize-observer.md) ^2.0.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.3.0 (latest) — 2025-12-11
- 1.0.0-rc.0 (rc) — 2021-09-13
- 2.2.0 — 2024-09-02
- 2.1.1 — 2022-06-20
- 2.1.0 — 2022-04-15
- 2.0.0 — 2022-04-14
- 1.0.0-rc.1 — 2021-11-04

## README

# react-infinite-ticker

React component that scrolls children infinitely.

## Demo

[See here](https://g12i.github.io/react-infinite-ticker/).

## Quick start

```bash
npm install react-infinite-ticker
```

```jsx
import React from "react";
import { VerticalTicker, HorizontalTicker } from "react-infinite-ticker";

function App() {
  return (
    <div>
      <VerticalTicker duration={15000}>
        <div>Put anything you want</div>
        <img src="/images/as/well.png" />
        <h1>All good</h1>
      </VerticalTicker>
      <HorizontalTicker duration={25000}>
        <div>Put anything you want</div>
        <img src="/images/as/well.png" />
        <h1>All good</h1>
      </HorizontalTicker>
    </div>
  );
}
```

## Configuration

Both `VerticalTicker` and `HorizontalTicker` take following props.

### `duration` **REQUIRED**

The **number** of milliseconds it should take to complete one one full animation iteration.

### `delay` _(optional)_

The **number** of milliseconds it should wait before each iterations.

### `easing` _(optional)_

The rate of the animation's change over time. Accepts the pre-defined values "linear", "ease", "ease-in", "ease-out", and "ease-in-out", or a custom "cubic-bezier" value like "cubic-bezier(0.42, 0, 0.58, 1)". Defaults to "linear". [(source)](https://developer.mozilla.org/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect#easing)

### `reverse` _(optional)_

The **boolean** indicating whether the animation should run forward or backward. Defaults to `false`

---
_Source: https://npm.io/package/react-infinite-ticker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
