Appearance
Appearance
Aligns the element inside its parent node.
import "spatial-design-system/components/position.js";<a-plane width="5" height="5" position="0 1.5 -5" color="#018A6C">
<a-box color="#03FCC6" auto-position></a-box>
</a-plane>| Property | Type | Default | Description |
|---|---|---|---|
| hAlign | enum(left, center, right) | center | Sets horizontal alignment. |
| vAlign | enum(top, center, bottom) | center | Sets vertical alignment. |