1.3.4 • Published 3 months ago

react-native-perfect-marquee v1.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

React Native Perfect Marquee is a lightweightReact Native component that harnesses silky smooth marquees for both ANDROIDos and Ios.Also RTL compatible (I18nManager)

This React Native Perfect Marquee component allows text to scroll smoothly in both directions (left to right or right to left). It supports both a single title and looped title, offering a seamless, customizable animation with various dynamic properties.

RTL compatible (I18nManager)

Usage

A sample file might look like this:

 import React from "react";
 import { View } from "react-native";
 import Marquees from  "react-native-perfect-marquee";
 const App =({data})=>{ 
   return
    ( 
      <View style={{flex:1}}> 
   <Marquees 
  textColor={data?.style?.text_color}  //you can also use it dynamically
  fontWeight={data?.style?.fontWeight}
  textColor={'red'}
      fontWeight={'900'}
      fontFamily={Rubik}
      fontSize={32}
       autofill ={true}  or just write autofill
      marqueeDirection={'left'}  OR {'right}
      marqueeSpeed={10}
      title={'ENTER YOUR TEXT HERE'}
      letterSpacing={5}
      backgroundColor={'black'}
      marginTop={10}
      marginBottom={10}
      padding={22}
                />
            />
  </View>
        )
      }
      export default App;
PropDescriptionValueExample
textColorCustomize the color of the scrolling text.stringtextColor={'green'}
fontWeightControl the font weight of the scrolling text.'900'fontWeight={'900'}
fontFamilySpecify the font family for the title text.stringfontFamily={'Arial'}
fontSizeAdjust the font size of the title text.32fontSize={32}
autofillAutomatically adjusts the text width for smooth scrolling.booleanautofill={true}
marqueeDirectionSet the scroll direction of the marquee, either left or right.'left' | 'right' |marqueeDirection={'left'}`
marqueeSpeedControl the speed of the scrolling text.10 to 100marqueeSpeed={10}
titleThe actual text content that will scroll in the marquee.stringtitle={'Marquee'}
letterSpacingDefine the spacing between letters of the scrolling text.1 to 5letterSpacing={2}
backgroundColorSet the background color of the marquee.stringbackgroundColor={'red'}
marginTopAdd margin to the top of the marquee.numbermarginTop={10}
marginBottomAdd margin to the bottom of the marquee.numbermarginBottom={10}
paddingAdd padding around the content inside the marquee.numberpadding={10}

Support Me on PayPal Or GooglePay

Welcome help me to build this awesome lib.

[PayPal]

Or via Google Pay:

UPI-- deepak142verma@okaxis

Any amount appreciated

1.2.8

4 months ago

1.2.7

5 months ago

1.2.6

5 months ago

1.2.5

5 months ago

1.2.4

5 months ago

1.2.3

5 months ago

1.2.2

5 months ago

1.2.1

5 months ago

1.3.4

3 months ago

1.3.3

3 months ago

1.3.2

3 months ago

1.3.1

4 months ago

1.3.0

4 months ago

1.1.99

5 months ago

1.2.9

4 months ago

1.1.98

7 months ago

1.1.97

7 months ago

1.1.96

7 months ago

1.1.95

7 months ago

1.1.94

7 months ago

1.1.93

7 months ago

1.1.92

7 months ago

1.1.91

7 months ago

1.1.9

7 months ago

1.1.8

7 months ago

1.1.78

7 months ago

1.1.77

7 months ago

1.1.76

8 months ago

1.1.75

8 months ago

1.1.74

8 months ago

1.1.73

8 months ago

1.1.72

8 months ago

1.1.71

8 months ago

1.1.7

8 months ago

1.1.62

8 months ago

1.1.61

8 months ago

1.1.6

8 months ago

1.1.54

8 months ago

1.1.53

8 months ago

1.1.52

8 months ago

1.1.51

8 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.1.3

8 months ago

1.1.2

8 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago