[go: up one dir, main page]

text-reveal
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

Text-reveal

An open-source, lightweight micro-frontend package for React.


text-reveal-gif


✨ Features

  • Zero dependency – This package works independently.
  • Flexible – Styles can be inherited from parent.
  • Simple – Uses basic CSS transition animations.
  • Control – Customize colors, speed, direction.

⚡️ Getting Started

  1. Install:
npm install text-reveal
  1. Use:
  import TextReveal from 'text-reveal';

  <TextReveal 
    text={['Hello', 'world']} 
    textColor="grey" 
    fillColor="white" 
  />
  1. Styles inherits from parent:
  <div style={{fontSize : '2rem', backgroundColor : 'black'}}>
    <TextReveal 
      text={['Hello', 'world']} 
      textColor="grey" 
      fillColor="white" 
    />
  </div>

📚 Docs

💎 Contribute

👩🏻‍⚖️ License

  • Text Reveal is MIT licensed.

Package Sidebar

Install

npm i text-reveal

Weekly Downloads

30

Version

2.1.2

License

MIT

Unpacked Size

18.4 kB

Total Files

13

Last publish

Collaborators

  • raj.codes