/react-skinview3d

React component for rendering Minecraft skins

Primary LanguageTypeScriptMIT LicenseMIT

react-skinview3d

Three.js powered Minecraft skin viewer component for ReactJS powered by skinview3d

NPM npm stats

Try on codesandbox.io

CodeSandbox

Install

npm install react-skinview3d

Usage

import React from "react"
import ReactSkinview3d from "react-skinview3d"

const App = () => {

  return (
    <ReactSkinview3d
      skinUrl="textures/skin-1.8-slim-no_hd.png"
      capeUrl="textures/minecon-cape-2016.png"
      height="500"
      width="500"
    />
  )

}

export default App;

Usage

See the storybook demos for more examples on how to use the library

License

MIT © Hacksore