Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-final-marquee

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-final-marquee

Easy way to use marquee text for React

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
38
increased by2.7%
Maintainers
1
Weekly downloads
 
Created
Source

React final marquee

Easy way to use marquee text for react

size dm visitor badge

Installation

npm install react-final-marquee
# or
yarn add react-final-marquee

Demo

See Here

Continued development

  • Vertical marquee
  • Add test case
  • Stay at the same speed even when you resize the window

Usage

// App.js
import Marquee from "react-final-marquee";

const App = () => {
  return (
    <div className="App">
      <Marquee
        className="marquee-customer-class"
        direction="leftToRight"
        speed="30"
        space="20px"
        repeat="5"
      >
        Lorem Ipsum is simply dummy text of the printing and typesetting
        industry.
      </Marquee>
    </div>
  );
};

Props

PropTypeDefaultDescription
heightNumber / String30pxThe height of the container div
styleCSSProperties{}Inline style for the container div
classNameString""Class name to style the container div
pausedBooleanfalseThe property specifies whether the animation is running or paused
pauseOnHoverBooleantrueWhether to pause the marquee when hovered
directionleftToRight / rightToLeft / topToBottom / bottomToToprightToLeftThe direction the marquee is sliding
speedNumber / String20Speed calculated as pixels/second
spaceNumber / String0Each loop item sapces
repeatNumber / String2Number of repeat text
textColorString / nullnullText color
bgColorString /nullnullContainer Background color
positionstart /center / endstartMarquee position

Keywords

FAQs

Package last updated on 21 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc