All Projects → kyo504 → react-native-marquee

kyo504 / react-native-marquee

Licence: MIT License
React Native Marquee Text Component

Programming Languages

typescript
32286 projects
objective c
16641 projects - #2 most used programming language
python
139335 projects - #7 most used programming language
java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language

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

Autoscrolllabel
Provides marquee like UILabel scrolling, think Music.app track title scrolling. For Obj-C & Swift.
Stars: ✭ 499 (+394.06%)
Mutual labels:  marquee
Xmarqueeview
💥【MarqueeView】类似淘宝头条、京东头条的跑马灯效果,上下轮播,支持单行/多行显示、自定义轮播布局
Stars: ✭ 224 (+121.78%)
Mutual labels:  marquee
alokmenghrajani.github.com
Alok Menghrajani's Blog
Stars: ✭ 64 (-36.63%)
Mutual labels:  marquee
Jquery.marquee
jQuery plugin to scroll the text like the old traditional marquee
Stars: ✭ 857 (+748.51%)
Mutual labels:  marquee
Marqueeviewlibrary
一个帮您快速实现跑马灯效果的library
Stars: ✭ 2,249 (+2126.73%)
Mutual labels:  marquee
RollingNotice-Swift
滚动公告、广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready
Stars: ✭ 109 (+7.92%)
Mutual labels:  marquee
Marquee
跑马灯/滚动文字条(类似于淘宝/菜鸟/京东/支付宝/聚划算/网商银行等app的跑马灯功能)
Stars: ✭ 389 (+285.15%)
Mutual labels:  marquee
marquee widget
A Flutter widget that scrolls text widget and other widget
Stars: ✭ 21 (-79.21%)
Mutual labels:  marquee
React Native Text Ticker
React Native Text Ticker/Marquee Component
Stars: ✭ 212 (+109.9%)
Mutual labels:  marquee
vue-text-marquee
A Vue component to Marquee. Just used CSS3 animation.
Stars: ✭ 24 (-76.24%)
Mutual labels:  marquee
Skautoscrolllabel
Automatically scrolling UILabel with both horizontal/vertical MARQUEE effects and gradient gradients on the edges. Gradient fading is used on the edge of the scroll to solve the problem of the hard edges of the rolling edge. The overall effect is a natural and easy to use.
Stars: ✭ 64 (-36.63%)
Mutual labels:  marquee
Vue Marquee Tips
基于Vue的横向跑马灯提示
Stars: ✭ 73 (-27.72%)
Mutual labels:  marquee
react-marquee
react无缝滚动组件
Stars: ✭ 27 (-73.27%)
Mutual labels:  marquee
Txscrolllabelview
🌭TXScrollLabelView, the best way to show & display information such as adverts / boardcast / onsale e.g. with a customView.
Stars: ✭ 714 (+606.93%)
Mutual labels:  marquee
dynamic-marquee
A small library for creating marquees.
Stars: ✭ 64 (-36.63%)
Mutual labels:  marquee
Rollingnotice
所有的垂向滚屏这一个库就够了!!!滚动公告、轮播广告,支持灵活自定义cell。淘宝、口碑、京东、美团、天猫等等一切滚动广告 Roll Notice or Advertising, customize cell as UITableViewCell supported, Swift version is also ready
Stars: ✭ 445 (+340.59%)
Mutual labels:  marquee
Marquee
A powerful implementation of Marquee(scrolling text or label) in SwiftUI, which supports any content view, including text(label), image, video, etc.
Stars: ✭ 44 (-56.44%)
Mutual labels:  marquee
AutoScrollTextView
android 上下滚动播放与走马灯效果结合
Stars: ✭ 27 (-73.27%)
Mutual labels:  marquee
react-easy-marquee
A highly customisable `marquee` package for React built using CSS. Renders anything given between the tags, be it an image, text or a custom JSX element!
Stars: ✭ 25 (-75.25%)
Mutual labels:  marquee
marquee-ora
A tool to create an ora compatible spinner object that behaves like a scrolling marquee
Stars: ✭ 73 (-27.72%)
Mutual labels:  marquee

react-native-marquee

A pure JavaScript marquee text component for react native.

Showcase

This app is available on Android and iOS.

feedyourmusic

Installation

npm install --save react-native-marquee
or
yarn add react-native-marquee

Usage

import React, { Component } from 'react';
import { StyleSheet, View } from 'react-native';
import MarqueeText from 'react-native-marquee';

export default class MarqueeTextSample extends Component {
  render() {
    return (
      <View style={styles.container}>
        <MarqueeText
          style={{ fontSize: 24 }}
          duration={3000}
          marqueeOnStart
          loop
          marqueeDelay={1000}
          marqueeResetDelay={1000}
        >
          Lorem Ipsum is simply dummy text of the printing and typesetting industry and typesetting industry.
        </MarqueeText>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
  },
});

Properties

Prop Type Optional Default Description
style StyleObj true - text style
duration number true 3000 Number of milliseconds until animation finishes from start.
loop boolean true false Set this true when animation repeats.
marqueeOnStart boolean true false Set this true while waiting for new data from a refresh.
marqueeResetDelay number true 0 Number of milliseconds to wait before resetting the marquee position after it finishes.
marqueeDelay number true 0 Number of milliseconds to wait before starting or restarting marquee.
onMarqueeComplete function true - Callback function for when the marquee completes its animation
useNativeDriver boolean true false Set this truen if you want to use native driver
easing function true inOut Easing function to define animation curve.

Methods

These methods are optional, you can use the isOpen property instead

Prop Params Description
startAnimation delay Start animation
stopAnimation - Stop animation

Contribution

Do you have any idea or want to change something? Just open an issue. Contributions are always welcome.

Lisence

MIT Lisence

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].