All Projects → cdtinney → react-double-marquee

cdtinney / react-double-marquee

Licence: MIT License
A React marquee component that smoothly loops content.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to react-double-marquee

sfpowerscripts
A build system for modular development in Salesforce, delivered as a sfdx plugin that can be implemented in any CI/CD system of choice
Stars: ✭ 121 (+404.17%)
Mutual labels:  package
react-native-value-picker
Cross-Platform iOS(ish) style picker for react native.
Stars: ✭ 18 (-25%)
Mutual labels:  package
version-check
An action that allows you to check whether your npm package version has been updated
Stars: ✭ 65 (+170.83%)
Mutual labels:  package
Skybrud.Umbraco.Redirects
Redirects manager for Umbraco.
Stars: ✭ 31 (+29.17%)
Mutual labels:  package
ex united
Easily spawn Elixir nodes (supervising, Mix configured, easy asserted / refuted) within ExUnit tests
Stars: ✭ 40 (+66.67%)
Mutual labels:  package
golib
Golang packages used in frp and fft.
Stars: ✭ 43 (+79.17%)
Mutual labels:  package
SignNowNodeSDK
The Official SignNow Node.js Client Library for interacting with SignNow REST API. Sign documents, request e-signatures, and build role-based workflows with multiple signers using this client.
Stars: ✭ 14 (-41.67%)
Mutual labels:  package
normalize-pkg
Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.
Stars: ✭ 18 (-25%)
Mutual labels:  package
postgres-range
Laravel package for PostgreSQL range types support
Stars: ✭ 27 (+12.5%)
Mutual labels:  package
angular-package-builder
[DEPRECATED] Packages your Angular 4+ library based on the Angular Package Format.
Stars: ✭ 25 (+4.17%)
Mutual labels:  package
echotron
An elegant and concurrent library for Telegram bots in Go.
Stars: ✭ 95 (+295.83%)
Mutual labels:  package
desktop-settings
No description or website provided.
Stars: ✭ 23 (-4.17%)
Mutual labels:  package
channelHelper
基于walle工具的多渠道打包脚本
Stars: ✭ 35 (+45.83%)
Mutual labels:  package
profmem
🔧 R package: profmem - Simple Memory Profiling for R
Stars: ✭ 32 (+33.33%)
Mutual labels:  package
LiteOTP
Multi OTP Spam Amp/Paralell threads
Stars: ✭ 50 (+108.33%)
Mutual labels:  package
EarthEngine.jl
Google Earth Engine in Julia
Stars: ✭ 44 (+83.33%)
Mutual labels:  package
multi-cursor
🎉
Stars: ✭ 44 (+83.33%)
Mutual labels:  package
ReplAPI.it-NodeJS
[DEPRECIATED] 𝙀𝙫𝙚𝙧𝙮𝙩𝙝𝙞𝙣𝙜 𝙍𝙚𝙥𝙡𝙞𝙩, 𝙖𝙡𝙡 𝙖𝙩 𝙮𝙤𝙪𝙧 𝙙𝙞𝙨𝙥𝙤𝙨𝙖𝙡. This is the single most extensive Replit package, allowing you to access various parts of the site with just a few classes and methods. Maintained by @RayhanADev.
Stars: ✭ 32 (+33.33%)
Mutual labels:  package
cookiecutter-pypackage
A cookiecutter template for Python package with heavy use of Github actions
Stars: ✭ 19 (-20.83%)
Mutual labels:  package
badgecreatr
Quickly place relevant badges at the top of your readme, stop copy pasting, start on your project
Stars: ✭ 61 (+154.17%)
Mutual labels:  package

react-double-marquee

A React marquee component that smoothly loops content.

npm version npm downloads Build Status Coverage Status semantic-release

Lo-fi demo:

Example

View the demos page for live examples.

Contents

Getting Started

Demos

Demos can be found here.

Usage

Install as a dependency:

$ npm install --save react-double-marquee

Then, import it and wrap it in an element that does not display overflow:

import Marquee from 'react-double-marquee';

export default function FooComponent() {
  return (
    <div
      style={{
        width: '200px',
        whiteSpace: 'nowrap',
      }}
    >
      <Marquee>
        Some really really really really really long text
      </Marquee>
    </div>
  );
}

Props

Key Type Default Description
speed Number 0.04 Movement speed, in pixels/millisecond.
delay Number 3000 Time until animation begins, in milliseconds.
direction "right"||"left" "right" Horizontal direction.
childMargin Number 10 Horizontal margin between children, in pixels.
children React node None Children to render within the marquee.
scrollWhen "overflow"||"always" "always" Whether the text always scrolls, or only when the content overflows the container width.

Developing

First, clone the repository.

Installing

Install dependencies:

$ npm install

Building

To build the package bundle:

$ npm run build

To build the bundle with live rebuilding:

$ npm run watch

To run the demos with live reload:

$ npm run dev

Then, open http://localhost:8001 to view the demo docs.

To build the static docs website (e.g. for GitHub Pages):

$ npm run docs

Testing

To run tests:

$ npm run test

To run tests in watch mode:

$ npm run test:watch

To run tests with coverage reporting:

$ npm run test:coverage

Linting

To run the linter:

$ npm run lint

Releasing

Releases are done automatically via Travis CI and semantic-release from the master branch.

To verify the repos for release:

$ npm run release:verify

To run the release script as a dry-run:

$ npm run release

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].