Socket
Socket
Sign inDemoInstall

aframe-react-component

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aframe-react-component

An Aframe Component for React


Version published
Weekly downloads
38
increased by72.73%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Aframe React Component

Use entity/primitive from Aframe with React just like a normal component works in React.

How to start

  • Install Aframe React Component as Depedencies
npm i aframe-react-component
  • Install Aframe, since it's depends on aframe
npm i aframe
  • Import the components in your React projects
import { Scene, Camera, Box } from 'aframe-react-component';

///

return (
  <Scene vr-mode-ui={false}>
    <Camera position={[0, 0, 0]} />
    <Box position={[0, 0, 5]} />
  </Scene>
);

Keywords

FAQs

Last updated on 19 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc