1.1.0 • Published 7 years ago

@xailabs/react-reveal-text v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

@xailabs/react-reveal-text

Animates text by revealing it word-by-word and letter-by-letter

Installation

via yarn:

yarn add @xailabs/react-reveal-text

via npm:

npm install --save @xailabs/react-reveal-text

Usage

import React from 'react';
import RevealText from '@xailabs/react-reveal-text';

export class MyComponent extends React.Component {
    render() {
        return (
            <div>
                <h3>
                    <RevealText text="My title" />
                </h3>
                <RevealText text="This is my text" />
            </div>
        );
    }
}

Examples

Check https://github.com/xailabs/react-reveal-text-demo

Options

These are the options you can specify via props:

(todo)