Add numbers as a component property

I recently built out a few input components with a few varieties of labels (i.e. internal label, top label, horizontal label), when adding them to the designs I realised that I could not change the with for the labels in the instances of the component, which caused my forms to be completely misaligned depending on the length of the label text.

I think it would be really helpful if we had a number property that we could add to a component set that we could then assign to something like the width of height of a component instance.

This way I could set the label width for each instance in my component to, for example, 300 and then duplicate that instance and update the other variables like label text, input field value, etc. while having my input fields aligned.

I think this would be a super helpful feature to localize control of certain size characteristics within a component variable.

1 Like

Thanks for the feedback!

We’ll pass this onto our team for consideration.

Thanks dvaliao, I really appreciate it. Let me know if you have any more questions or if maybe the team wants to collaborate on exploring this idea and defining it some more, would be really keen to collaborate.

1 Like