Adaptive Component with adjustable Z-axis parameter

Hi I am trying to add a parameter into this adaptive component panel which helps me to create a panel according to the required depth.

Regards,
Bony