# Can I create a label by code?

**URL:** <https://community.thunkable.com/t/can-i-create-a-label-by-code/1169156>\
**Category:** Questions about Thunkable X\
**Tags:** socialmedia, labels, label, javascript\
**Created:** [March 16, 2021, 1:08am UTC](https://community.thunkable.com/t/can-i-create-a-label-by-code/1169156 "2021-03-16T01:08:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![roumak-coder](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@roumak-coder](https://community.thunkable.com/u/roumak-coder)\
**Post date:** [March 16, 2021, 1:59am UTC](https://community.thunkable.com/t/can-i-create-a-label-by-code/1169156/2 "2021-03-16T01:59:08Z")

</div>

> [@flaming\_mmakers](#):
>
> I was wondering if there is a way to create a label by code?

The answer is Yes. You can create a label through the code using the any component blocks - ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/f/1f9621180da08ab11b3a00047bb4216401c47d2c.png)

But I would suggest to use a data viewer list. It’s more efficient. You can also customize the design. Look at this post for more help.

> [@tada Latest Thunkable ✕ Release; NEW COMPONENTS Data Viewer List and Data Viewer Grid! 2020-05-05](https://community.thunkable.com/t/latest-thunkable-release-new-components-data-viewer-list-and-data-viewer-grid-2020-05-05/564204):
>
> Transform Data into Native Mobile Apps - no code needed. We’ve been making a lot of updates to the platform recently, and we have a lot more planned, but it’s great to officially announce two amazing new no-code, User Interface components for you today. [Data Viewer List](https://docs.thunkable.com/data-viewer-list) & [Data Viewer Grid](https://docs.thunkable.com/data-viewer-grid) You can find these new Data Viewers in your UI components right now. [data\_viewers] Thank you beta testers! To begin, we have to say a big “Thank You” to the 100 or so community members who helped [with tes…](http://community.thunkable.com/t/would-you-like-to-beta-test-the-new-data-viewer-component/469832)

---

_[View the full topic](https://community.thunkable.com/t/can-i-create-a-label-by-code/1169156)._
