Create Marquee Effects In React Native – Marquee View

The Marquee View is a component that allows you to animate text in React Native applications. It was inspired by the marquee HTML tag and its purpose is to animate text with horizontal scrolling.

How to use it:

1. Install and import the Marquee View component.

# Yarn
$ yarn add react-native-marquee-view

$ npm i react-native-marquee-view
import MarqueeView from 'react-native-marquee-view';

2. Add scrolling text to the marquee view.

    backgroundColor: '#222',
    color: '#fff',
    width: 400,
  <View style={{ backgroundColor: 'red' }}>
    <Text>This is Scrolling Text</Text>

3. Available component props.

  • style: view styles
  • speed = 0.1: animation speed
  • delay = 0: Delay in ms
  • autoPlay = true: Autoplay
  • playing: Is playing

4. Start & stop the animation.



Create Marquee Effects In React Native - Marquee View

Download Details:

Author: minhchienwikipedia

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:

License: MIT

You Might Be Interested In:

Add Comment