# Array of components

**URL:** <https://community.thunkable.com/t/array-of-components/62087>\
**Category:** Questions about Thunkable X\
**Created:** [December 26, 2018, 6:47am UTC](https://community.thunkable.com/t/array-of-components/62087 "2018-12-26T06:47:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mchr70](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mchr70](https://community.thunkable.com/u/mchr70)\
**Post date:** [December 26, 2018, 6:47am UTC](https://community.thunkable.com/t/array-of-components/62087/1 "2018-12-26T06:47:50Z")

</div>

Hello,  
Is it possible to make an array of components in Thunkable X, like in App Inventor?  
Thanks

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [December 26, 2018, 10:07pm UTC](https://community.thunkable.com/t/array-of-components/62087/2 "2018-12-26T22:07:20Z")

</div>

Hi @mchr70,

How many components are you trying to change? At the moment this isn’t possible, but I’d be interested to know what your use case is for this.

---

<div class="post-metadata">

**Author:** ![mchr70](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@mchr70](https://community.thunkable.com/u/mchr70)\
**Post date:** [December 27, 2018, 5:58am UTC](https://community.thunkable.com/t/array-of-components/62087/3 "2018-12-27T05:58:20Z")

</div>

For example, I have 20 labels and would like to load their text from a database, in a loop. Currently, I have to repeat the same block 20 times. Also, I would like to load the value of 20 switches from the same database.

---

<div class="post-metadata">

**Author:** ![bhaudipmehta0](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bhaudipmehta0](https://community.thunkable.com/u/bhaudipmehta0)\
**Post date:** [September 7, 2020, 10:17am UTC](https://community.thunkable.com/t/array-of-components/62087/4 "2020-09-07T10:17:23Z")

</div>

Hi ,  
If we have array of variable then it would be very help full to maintain bulky thing. Like i am making parking app in that i have 30 parking slots so i need an array of let’s say X[0…20] then i can replace it anywhere and very systematic way to have it.  
Thank you.

---

<div class="post-metadata">

**Author:** ![charvi2k9gsbk2i](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@charvi2k9gsbk2i](https://community.thunkable.com/u/charvi2k9gsbk2i)\
**Post date:** [April 30, 2021, 10:07am UTC](https://community.thunkable.com/t/array-of-components/62087/5 "2021-04-30T10:07:30Z")

</div>

yes, is there a way where we can store multiple information in only 1 variable or storing data that is not on screen 1 but is in screen2?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 30, 2021, 10:14am UTC](https://community.thunkable.com/t/array-of-components/62087/6 "2021-04-30T10:14:20Z")

</div>

Use a list or an object with properties.

---

<div class="post-metadata">

**Author:** ![charvi2k9gsbk2i](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@charvi2k9gsbk2i](https://community.thunkable.com/u/charvi2k9gsbk2i)\
**Post date:** [April 30, 2021, 5:43pm UTC](https://community.thunkable.com/t/array-of-components/62087/7 "2021-04-30T17:43:09Z")

</div>

thank you that was helpful

---

<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, 11:52am UTC](https://community.thunkable.com/t/array-of-components/62087/8 "2024-11-08T11:52:13Z")

</div>


