@xailabs/react-reveal-text
Reveals text word-by-word, words letter-by-letter
Last updated 3 years ago by marius.nogueras .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @xailabs/react-reveal-text 
SYNC missed versions from official npm registry.

@xailabs/react-reveal-text

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

demo

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)

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

2 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (2)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |