1.0.3 • Published 2 years ago

react-cubify-3d v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

react-cubify-3d

A customizable 3D cube component for React.

Installation

To install my-3d-cube, you can use npm:

npm install react-cubify-3d

Usage

Here's a basic example of how to use the Cube component:

import React from 'react';
import Cube from 'react-cubify-3d';

function App() {
  return (
    <div>
      <Cube />
    </div>
  );
}

export default App;

By default, the cube will have a width, height, and depth of 100. You can customize these dimensions using the width, height, and depth props:

<Cube width={150} height={200} depth={100} />

Props

width

The width of the cube. Defaults to 100.

height

The height of the cube. Defaults to 100.

depth

The depth of the cube. Defaults to 100.

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago