If you are more familiar with React, you can import React elements into your own .jsx files and use them as follows:

import * as React from 'react';
import ReactDOM from 'react-dom';
import { TextInput } from '@playcanvas/pcui/react';
import '@playcanvas/pcui/styles';

    <TextInput />,

This will render a single text input to the document’s body element. You can see the result of this rendered component below:

For more extensive examples, see the UI examples section.