<a-text>

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

Wraps the text component.

Example

<a-text value="Hello, World!"></a-text>

Attributes

Attribute Component Mapping
align text.align
alpha-test text.alphaTest
anchor text.anchor
baseline text.baseline
color text.color
font text.font
font-image text.fontImage
height text.height
letter-spacing text.letterSpacing
line-height text.lineHeight
opacity text.opacity
shader text.shader
side text.side
tab-size text.tabSize
transparent text.transparent
value text.value
white-space text.whiteSpace
width text.width
wrap-count text.wrapCount
wrap-pixels text.wrapPixels
z-offset text.zOffset