# react-simple-marquee

> Marquee build with React and CSS animation

Latest version **1.3.2** (published 2023-05-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-simple-marquee
pnpm add react-simple-marquee
yarn add react-simple-marquee
bun add react-simple-marquee
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.2 |
| Published | 2023-05-12 |
| First published | 2020-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 22.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | masonwongcs |
| Maintainers | 2saki, masonwongcs |
| Keywords | marquee, simple, react |

## Links

- npm: https://www.npmjs.com/package/react-simple-marquee
- Repository: https://github.com/masonwongcs/react-simple-marquee
- Homepage: http://react-simple-marquee.surge.sh
- Issues: https://github.com/masonwongcs/react-simple-marquee/issues
- npm.io page: https://npm.io/package/react-simple-marquee

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.7.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

- 1.3.2 (latest) — 2023-05-12
- 1.2.2 — 2020-10-10
- 1.2.1 — 2020-04-12
- 1.2.0 — 2020-04-11
- 1.1.8 — 2020-04-10
- 1.1.7 — 2020-04-10
- 1.1.6 — 2020-04-10
- 1.1.4 — 2020-04-10
- 1.1.3 — 2020-04-10
- 1.1.2 — 2020-04-10
- 1.1.0 — 2020-04-10
- 1.0.6 — 2020-04-10
- 1.0.5 — 2020-04-09
- 1.0.4 — 2020-04-09
- 1.0.3 — 2020-04-09
- … 2 more at https://npm.io/package/react-simple-marquee/versions

## README

# react-simple-marquee

A very simple Marquee component created by using CSS animation and React

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)

## Demo
![](demo.gif)

Link to demo: https://react-simple-marquee.surge.sh

## Installation

```sh
npm i react-simple-marquee --save
```

## Usage

Import Marquee component into your React component

#### Using React Hooks

```jsx
import * as React from "react";
import ReactDOM from "react-dom";
import Marquee from "react-simple-marquee";

const App = () => (
  <Marquee
    speed={2} // Speed of the marquee (Optional)
    style={{
      height: 30 // Your own styling (Optional)
    }}
  >
    Your text here
  </Marquee>
);

ReactDOM.render(<App />, document.getElementById("root"));
```

#### Using React Class Component

```jsx
import * as React from "react";
import ReactDOM from "react-dom";
import Marquee from "react-simple-marquee";

class App extends React.Component {
  render() {
    return (
      <Marquee
        speed={2} // Speed of the marquee (Optional)
        style={{
          height: 30 // Your own styling (Optional)
        }}
      >
        Your text here
      </Marquee>
    );
  }
}

ReactDOM.render(<App />, document.getElementById("root"));
```

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