Newline Pending Merge

    react-cube3d-component

    1.0.8 • Public • Published

    React cube3d UI component

    Zero dependency

    Touch support


    Install

    npm install --save react-cube3d-component
    

    Usage

    DEMO

    import React from 'react';
    import Cube from 'react-cube3d-component';
     
    function App() {
      return (
            <Cube cubeSize='300px' viewportSize='500px'>
              <div>Front</div>
              <div>Back</div>
              <div>Right</div>
              <div>Left</div>
              <div>Top</div>
              <div>Bottom</div>
            </Cube>
      );
    }

    Install

    npm i react-cube3d-component

    DownloadsWeekly Downloads

    16

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    9.23 kB

    Total Files

    5

    Last publish

    Collaborators

    • sakals