# react-3divs

> bundle of all reViz3D modules

Latest version **1.2.2** (published 2018-06-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-3divs
pnpm add react-3divs
yarn add react-3divs
bun add react-3divs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2018-06-15 |
| First published | 2018-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 47.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | lucascassiano |
| Maintainers | lucascassiano |

## Links

- npm: https://www.npmjs.com/package/react-3divs
- Repository: https://github.com/lucascassiano/react-container-3d
- Issues: https://github.com/lucascassiano/react-container-3d/issues
- npm.io page: https://npm.io/package/react-3divs

## Dependencies (8)

- [react](https://npm.io/package/react.md) ^16.4.0
- [three](https://npm.io/package/three.md) ^0.88.0
- [stats-js](https://npm.io/package/stats-js.md) ^1.0.0-alpha1
- [react-dom](https://npm.io/package/react-dom.md) ^16.4.0
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.26.0
- [three-orbit-controls](https://npm.io/package/three-orbit-controls.md) ^82.1.0
- [three-react-mtl-loader](https://npm.io/package/three-react-mtl-loader.md) ^1.2.0
- [three-react-obj-loader](https://npm.io/package/three-react-obj-loader.md) ^1.0.4

## Recent versions

- 1.2.2 (latest) — 2018-06-15
- 1.2.1 — 2018-06-15
- 1.2.0 — 2018-06-05
- 1.1.9 — 2018-06-05
- 1.1.8 — 2018-06-05
- 1.1.7 — 2018-06-05
- 1.1.6 — 2018-06-05
- 1.1.5 — 2018-06-05
- 1.1.4 — 2018-06-05
- 1.1.3 — 2018-06-05
- 1.1.2 — 2018-06-05
- 1.1.1 — 2018-06-04
- 1.1.0 — 2018-06-04

## README

# react_3divs
Divs in 3D as react components 

# install
```
npm install --save react-3divs@latest
```

## import
```js
import { Div3d, Viewer3d, Obj3d, Layer3d } from "react-3divs";
```

#Example
```jsx
 <Viewer3d stats width={600} height={600} >
    <Div3d position={{ x: 10, y: 0, z: 0 }} >
                <h3>2D Content Here</h3>
    </Div3d>
   </Viewer3d>
```
## run example
```
 #clone git
$ cd ./example 
$ npm install && npm start

```

## Simple Use
```jsx
 <Viewer3d stats width={600} height={600} defaultLight grid>
    <Obj3d src={model} mtl={mtl} />
    <Div3d name="div0" position={{ x: 10, y: 0, z: 0 }} >
                <h3>2D Content Here{this.state.counter}</h3>
    </Div3d>
   </Viewer3d>
   
```

---
_Source: https://npm.io/package/react-3divs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
