# 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:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![flaming\_mmakers](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/flaming_mmakers/32/100686_2.png) [@flaming\_mmakers](https://community.thunkable.com/u/flaming_mmakers)
#### Post date: [March 16, 2021, 1:08am UTC](https://community.thunkable.com/t/can-i-create-a-label-by-code/1169156/1 "2021-03-16T01:08:30Z")

</div>

I was wondering if there is a way to create a label by code?  
Here’s what I’m trying to do:  
Similar to social media, I want to be able to create a “post” and have it show up on other users phones as well. I have an idea as to how to do that, and it involves creating a label through code.  
So if you know if there’s a way to do that, OR if you have another way that I could achieve the above goal, please let me know!

---

<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)

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:26pm UTC](https://community.thunkable.com/t/can-i-create-a-label-by-code/1169156/3 "2024-11-08T13:26:00Z")

</div>


