https://github.com/krsbx/aframe-react-component
React Components for easier AFrame usage
https://github.com/krsbx/aframe-react-component
aframe aframe-boilerplate aframe-component aframe-react react typescript
Last synced: 10 months ago
JSON representation
React Components for easier AFrame usage
- Host: GitHub
- URL: https://github.com/krsbx/aframe-react-component
- Owner: krsbx
- Created: 2022-06-25T02:19:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T07:14:03.000Z (almost 3 years ago)
- Last Synced: 2025-07-02T01:38:27.682Z (10 months ago)
- Topics: aframe, aframe-boilerplate, aframe-component, aframe-react, react, typescript
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# 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
```js
import { Scene, Camera, Box } from 'aframe-react-component';
///
return (
);
```