Skip to content

snettah/react-ztext

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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