Skip to content

snettah/react-ztext

Repository files navigation

react-ztext

Ztext.js implementation in React

NPM JavaScript Style Guide

Demo

CodeSandbox

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

About

Ztextjs implementation in React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published