# Text

The `p-text` component renders a PIXI Text Object will create a line or multiple lines of text

## Usage

{% embed url="https://codesandbox.io/s/vue-pixi-wrappertext-p1ko0" %}

## Extends

[**Sprite**](https://maitrungduc.gitbook.io/vue-pixi-wrapper/components/sprite)

## Additional Props



<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Default</th><th data-type="checkbox">Reactive</th></tr></thead><tbody><tr><td>text</td><td>String</td><td>true</td><td></td><td>true</td></tr><tr><td>textStyle</td><td>Object&#x3C;ITextStyle></td><td>false</td><td></td><td>true</td></tr><tr><td>canvas</td><td>HTMLCanvasElement</td><td>false</td><td>undefined</td><td>false</td></tr></tbody></table>

