# How to access custom properties of a component within a flow

**URL:** https://community.neutrinos.com/t/how-to-access-custom-properties-of-a-component-within-a-flow/845
**Category:** Training, Academy & Certifications
**Tags:** neutrinos-ssd
**Created:** [June 13, 2025, 3:08pm UTC](https://community.neutrinos.com/t/how-to-access-custom-properties-of-a-component-within-a-flow/845 "2025-06-13T15:08:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![LavanyaS](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@LavanyaS](https://community.neutrinos.com/u/LavanyaS)
#### Post date: [June 13, 2025, 3:08pm UTC](https://community.neutrinos.com/t/how-to-access-custom-properties-of-a-component-within-a-flow/845/1 "2025-06-13T15:08:16Z")

</div>

Hi Team,

I am working with the stepper component. I am trying use Next button’s onClick(pick a flow) property to set the Step’s custom property [completed]: isCompleted to true, so that it can navigate to next step only on Next button click.

 ![image](https://community.neutrinos.com/uploads/default/original/1X/bcba35247921ca9d25e9527a337b63c656a6284a.png)

How do we access the “isCompleted” custom property here in the flow?

 ![image](https://community.neutrinos.com/uploads/default/original/1X/8dcc3d0ca2c4af8f80f0339e4ffb4598291838f3.png)

Can you please guide me regarding this?

Thanks,  
Lavanya S

---

<div class="post-metadata">

### Author: ![Shamnad\_KS](https://community.neutrinos.com/user_avatar/community.neutrinos.com/shamnad_ks/32/272_2.png) [@Shamnad\_KS](https://community.neutrinos.com/u/Shamnad_KS)
#### Post date: [June 13, 2025, 5:05pm UTC](https://community.neutrinos.com/t/how-to-access-custom-properties-of-a-component-within-a-flow/845/2 "2025-06-13T17:05:29Z")

</div>

Hi @LavanyaS ,

If you’d like to control the stepper using a button, you can add a custom property (Attribute) to the **Stepper component** itself (not on individual steps), as shown in the screenshot below.

 ![image](https://community.neutrinos.com/uploads/default/original/1X/5cc8426b2cb478242458e9f5a3950c69abe78eb9.png)

Once that’s configured, you can manage the step navigation through the button’s `onClick` flow using the following functions:

- `this.stepper.next();` → To move to the next step
- `this.stepper.previous();` → To go back to the previous step
- `this.stepper._selectedIndex;` → To retrieve the current step index

These functions allow you to programmatically control the stepper’s behavior.

Let me know if anything is unclear.

---

<div class="post-metadata">

### Author: ![LavanyaS](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@LavanyaS](https://community.neutrinos.com/u/LavanyaS)
#### Post date: [June 19, 2025, 6:15am UTC](https://community.neutrinos.com/t/how-to-access-custom-properties-of-a-component-within-a-flow/845/3 "2025-06-19T06:15:24Z")

</div>

Hi Shamnad,

Thank you for the solution. I will try this out.
