# Pass data to component SDK gen 2

**URL:** <https://forum.builder.io/t/pass-data-to-component-sdk-gen-2/8562>\
**Category:** Technical Questions\
**Tags:** api, react, nextjs\
**Created:** [February 3, 2025, 3:31pm UTC](https://forum.builder.io/t/pass-data-to-component-sdk-gen-2/8562 "2025-02-03T15:31:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehan](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mehan](https://forum.builder.io/u/Mehan)\
**Post date:** [February 3, 2025, 3:31pm UTC](https://forum.builder.io/t/pass-data-to-component-sdk-gen-2/8562/1 "2025-02-03T15:31:47Z")

</div>

Hello, builder io Team,

Can you please assist me with something related to SDK gen 2.

As we are currently migrating to SDK gen 2 i have been trying for a while to pass data to my builder io component via `builderState` like this

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/f/f8f293cf49c189f811d0b2ee761732ed4e5f7441.jpeg)

The way it is shown in the screenshot does not work anymore, but unfortunately i could not find the appropriate way of doing the same thing but in the new gen 2. So that is why i need a little bit of help.

Please do not hesitate to ask for any additional info you need.

Best regards,  
Merhan

---

<div class="post-metadata">

**Author:** ![Rahulj08](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@Rahulj08](https://forum.builder.io/u/Rahulj08)\
**Post date:** [February 14, 2025, 12:19pm UTC](https://forum.builder.io/t/pass-data-to-component-sdk-gen-2/8562/2 "2025-02-14T12:19:03Z")

</div>

Hi @Mehan,  
Thanks for reaching out.

Could you please share a minimal reproduction of your GitHub repository so that I can investigate it further?  
Thanks 🙂
