snettah / react-ztext

Ztextjs implementation in React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:TypeScript 75.1%Language:HTML 18.8%Language:CSS 6.2%