# A-Frame

> WebXR framework: VR, AR and 3D scenes written as HTML tags on top of three.js.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/aframe

free

WebXR framework: VR, AR and 3D scenes written as HTML tags on top of three.js.

by A-Frame community (aframevr)[GitHub](https://github.com/aframevr/aframe)[npm](https://npmjs.com/package/aframe)

[visit](https://aframe.io/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://aframe.io](https://aframe.io/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [three.js](https://tastebase.ehsanulsiam.workers.dev/browse/three)

The standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders.

no preview

### [React Three Fiber](https://tastebase.ehsanulsiam.workers.dev/browse/r3f)

React renderer for three.js: build 3D scenes as JSX components with hooks.

no preview

### [Babylon.js](https://tastebase.ehsanulsiam.workers.dev/browse/babylonjs)

A full web 3D and game engine: WebGL and WebGPU rendering, physics, GUI, XR and a scene inspector.

no preview

### [PlayCanvas](https://tastebase.ehsanulsiam.workers.dev/browse/playcanvas)

Open-source WebGL and WebGPU engine with a React wrapper, a hosted editor and first-class Gaussian splats.

## For your agent

##### Install

`npm i aframe`

##### Use it for

- a VR or AR scene that runs in a headset browser (Quest, Vision Pro) with controllers and hand tracking
- a 360 photo or video viewer with a gaze cursor
- WebXR content written as HTML tags with no build step, for a demo, workshop or CMS page

##### Skip it when

- a React app whose 3D follows app state: use r3f
- showing one glTF model with orbit and phone AR: use model-viewer
- a game or configurator that needs physics and an editor: use babylonjs or playcanvas

##### What's inside11 free

- a-scene
- a-entity
- a-box
- a-sphere
- a-sky
- a-camera
- a-cursor
- Entity-component system
- WebXR VR/AR mode
- Hand tracking
- Inspector

##### Facts

**Frameworks**
vanilla, react, vue, svelte, solid, angular

**Styling**
unstyled

**Weight**
large

**Accessibility**
weak

**Maturity**
established

**License**
MIT

**Price**
Free

##### Alternatives

[three.js](https://tastebase.ehsanulsiam.workers.dev/browse/three)[React Three Fiber](https://tastebase.ehsanulsiam.workers.dev/browse/r3f)[Babylon.js](https://tastebase.ehsanulsiam.workers.dev/browse/babylonjs)[PlayCanvas](https://tastebase.ehsanulsiam.workers.dev/browse/playcanvas)

[Compare A-Frame with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/aframe-alternatives)

```
import 'aframe'

<a-scene>
  <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
  <a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere>
  <a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>
  <a-sky color="#ECECEC"></a-sky>
</a-scene>
```

https://aframe.io/examples/

Loading website

[Visit](https://aframe.io/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
