# PlayCanvas Data Templating

**URL:** <https://forum.playcanvas.com/t/playcanvas-data-templating/13450>\
**Category:** Work in progress\
**Created:** [June 1, 2020, 6:09pm UTC](https://forum.playcanvas.com/t/playcanvas-data-templating/13450 "2020-06-01T18:09:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![commention](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/commention/32/3200_2.png) [@commention](https://forum.playcanvas.com/u/commention)\
**Post date:** [June 1, 2020, 6:09pm UTC](https://forum.playcanvas.com/t/playcanvas-data-templating/13450/1 "2020-06-01T18:09:29Z")

</div>

Hello,

I created a template system for UI elements, where you can set data to UI elements. These scripts makes front-end process easier.

You can simply connect your UI elements to a REST service with zero coding.

Here is a video for tutorial :

Github repository for scripts :

> **[devcem/Playcanvas-UI-Components](https://github.com/devcem/Playcanvas-UI-Components)**
>
> This repository provides scripts for UI components, that can be used in forms. - devcem/Playcanvas-UI-Components

If you are familiar with React or VueJS or any other templating on JavaScript, you’ll understand it quickly.

## Features

- Render variables on text elements
- Render images with variables
- Hide or show elements with variables
- Connect all elements to a REST service with zero coding

Let me know if you have any feedback or request. I’ll try to add it to scripts.  
These scripts are currently in use on MiniRoyale2 and a new game that is in development.

---

<div class="post-metadata">

**Author:** ![anon3178860](https://forum.playcanvas.com/letter_avatar_proxy/v4/letter/a/eada6e/32.png) [@anon3178860](https://forum.playcanvas.com/u/anon3178860)\
**Post date:** [June 1, 2020, 6:18pm UTC](https://forum.playcanvas.com/t/playcanvas-data-templating/13450/2 "2020-06-01T18:18:17Z")

</div>

That’s pretty cool - great video to show this off as well. Very informative!

---

<div class="post-metadata">

**Author:** ![Leonidas](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/leonidas/32/6495_2.png) [@Leonidas](https://forum.playcanvas.com/u/Leonidas)\
**Post date:** [June 1, 2020, 6:55pm UTC](https://forum.playcanvas.com/t/playcanvas-data-templating/13450/3 "2020-06-01T18:55:37Z")

</div>

That is very cool @commention, many thanks for sharing it!
