Home

Awesome

<h1 align="center"> <p align="center"><b><i>Scale</i></b> <br/><img src="https://cloud.githubusercontent.com/assets/219689/3491822/96bf5de6-059d-11e4-9826-a6f82025d1af.gif" width="300" height="70" alt="LTMorphingLabel"/> <p> <p align="center"><b><i>Evaporate</i></b> <br/><img src="https://cloud.githubusercontent.com/assets/219689/3491838/ffc5aff2-059d-11e4-970c-6e2d7664785a.gif" width="300" height="70" alt="LTMorphingLabel-Evaporate"/> </p> <p align="center"><b><i>Fall</i></b> <br/><img src="https://cloud.githubusercontent.com/assets/219689/3491840/173c2238-059e-11e4-9b33-dcd21edae9e2.gif" width="300" height="70" alt="LTMorphingLabel-Fall"/> </p> <p align="center"><b><i>Pixelate</i></b> <br/><img src="https://cloud.githubusercontent.com/assets/219689/3491845/29bb0f8c-059e-11e4-9ef8-de56bec1baba.gif" width="300" height="70" alt="LTMorphingLabel-Pixelate"/> </p> <p align="center"><b><i>Sparkle</i></b> <br/><img src="https://cloud.githubusercontent.com/assets/219689/3508789/31e9fafe-0690-11e4-9a76-ba3ef45eb53a.gif" width="300" height="70" alt="LTMorphingLabel-Sparkle"/> </p> <p align="center"><b><i>Burn</i></b> <br/><img src="https://cloud.githubusercontent.com/assets/219689/3582586/4fb8c52e-0bfe-11e4-9b6f-f070f7f3ab55.gif" width="300" height="70" alt="LTMorphingLabel-Burn"/> </p> <p align="center"><b><i>Anvil</i></b> <br/><img src="https://cloud.githubusercontent.com/assets/219689/3594949/815cd3e8-0caa-11e4-9738-278a9c959478.gif" width="300" height="70" alt="LTMorphingLabel-Anvil"/> </p> <p align="center"><b><i>Line</i></b> <br/><img src="https://github.com/hanks-zyh/HTextView/blob/master/screenshot/demo7.gif" width="300" height="70" /> </p> <p align="center"><b><i>Typer</i></b> <br/><img src="https://github.com/hanks-zyh/HTextView/blob/master/screenshot/typer.gif" width="300" height="70" /> </p> <p align="center"><b><i>Ranbow</i></b> <br/><img src="https://github.com/hanks-zyh/HTextView/blob/master/screenshot/rainbow.gif" width="300" height="70" /> </p> <p align="center"><b><i>Fade</i></b> <br/><img src="https://github.com/hanks-zyh/HTextView/blob/master/screenshot/fade.gif" width="300" height="70" /> </p> <p align="center"> <a href="https://www.npmjs.com/package/react-native-morphing-text"><img src="http://img.shields.io/npm/v/react-native-morphing-text.svg?style=flat" /></a> <a href="https://github.com/prscX/react-native-morphing-text/pulls"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a> <a href="https://github.com/prscX/react-native-morphing-text#License"><img src="https://img.shields.io/npm/l/react-native-morphing-text.svg?style=flat" /></a> </p>
ReactNative: Native Morphing Text (Android/iOS): Deprecated

Due to time constraint, this library is deprecated and not maintained anymore, You can still use this library.

If this project has helped you out, please support us with a star 🌟

</h1>

A Morphing React Native Text View. This library is a RN Bridge wrapper around lexrus/LTMorphingLabel & hanks-zyh/HTextView

📖 Getting started

$ npm install react-native-morphing-text --save

$ react-native link react-native-morphing-text

Please add below snippet into your app build.gradle


buildscript {
    repositories {
        jcenter()
        google()
    }
    ...
}


allprojects {
    repositories {
        mavenLocal()
        jcenter()
        google()
        ...
    }
}

This library is supported Android SDK 27 > above

💻 Usage

import RNMorphingText from 'react-native-morphing-text';

<RNMorphingText effect={"scale"}>{'Text'}</RNMorphingText>

💡 Props

PropTypeDefaultNote
effectstringscaleScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
PropTypeDefaultNote
effectstringevaporateScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
PropTypeDefaultNote
effectstringfallScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
PropTypeDefaultNote
effectstringpixelateScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
PropTypeDefaultNote
effectstringsparkleScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
PropTypeDefaultNote
effectstringburnScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
PropTypeDefaultNote
effectstringanvilScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
PropTypeDefaultNote
effectstringlineScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
lineColorstring#1367bcLine Color
lineWidthnumber4Width of Line
PropTypeDefaultNote
effectstringtyperScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font
typerSpeednumber100Speed of Typing
charIncreasenumber2Char Increase
PropTypeDefaultNote
effectstringranbowScale Effect Type
colorarray[]Color of font
sizenumber12Size of font
colorSpacenumber150Color Space
colorSpeednumber5Speed of color changing
PropTypeDefaultNote
effectstringfadeScale Effect Type
colorstring#000000Color of font
sizenumber12Size of font

✨ Credits

🤔 How to contribute

Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.

💫 Where is this library used?

If you are using this library in one of your projects, add it in this list below. ✨

📜 License

This library is provided under the Apache 2 License.

RNMorphingText @ prscX

💖 Support my projects

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it: