https://github.com/pjb0811/react-3d-cube
cube app using react & react-motion.
https://github.com/pjb0811/react-3d-cube
3d cube react react-motion
Last synced: 10 months ago
JSON representation
cube app using react & react-motion.
- Host: GitHub
- URL: https://github.com/pjb0811/react-3d-cube
- Owner: pjb0811
- Created: 2018-08-24T01:20:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T20:51:50.000Z (over 4 years ago)
- Last Synced: 2024-12-12T17:41:16.835Z (over 1 year ago)
- Topics: 3d, cube, react, react-motion
- Language: TypeScript
- Homepage:
- Size: 2.89 MB
- Stars: 4
- Watchers: 1
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-3d-cube
> cube app using react & react-motion.
[](https://www.npmjs.com/package/react-3d-cube) [](https://standardjs.com)
This package is included in [react-motion-components](https://github.com/pjb0811/react-motion-components).
## Install
```bash
npm install --save react-3d-cube
```
## Usage
[demo](https://codesandbox.io/s/ojvpllm87q)
```tsx
import * as React from 'react';
import Cube from 'react-3d-cube';
class Example extends React.Component {
render() {
return (
react-3d-cube
no children
set children
front
right
back
left
top
bottom
);
}
}
```
## License
MIT © [pjb0811](https://github.com/pjb0811)