Note: This documentation is for the old 0.2.0 version of A-Frame. Check out the documentation for the current 1.5.0 version

The plane primitive creates flat surfaces. It is an entity that prescribes the geometry with its geometric primitive set to plane.


<img id="ground" src="ground.jpg">

<!-- Basic plane. -->
<a-plane color="#CCC" height="20" width="20"></a-plane>

<!-- Textured plane. -->
<a-plane src="#ground" height="100" width="100"></a-plane>


Note that the plane primitive inherits common mesh attributes.

Attribute Component Mapping Default Value
height geometry.height 1
width geometry.width 1