Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-ztext

snettah48MIT1.0.3TypeScript support: included

Ztextjs implementation in React

readme

react-ztext

Ztext.js implementation in React

NPM JavaScript Style Guide

Install

npm install --save react-ztext
yarn add react-ztext

Usage

import React from 'react'
import Ztext from 'react-ztext'

const Example = () => (
  <Ztext
    depth='1rem'
    direction='both'
    event='pointer'
    eventRotation='30deg'
    eventDirection='default'
    fade={false}
    layers={10}
    perspective='500px'
    style={{
      fontSize: '4rem'
    }}
  >
    <span role='img' aria-label='emoji'>
      😂🔥🍔
    </span>
  </Ztext>
)

ZText.js Documentation

License

MIT © snettah