Different width of element border

Hello all, wondering if anyone has an elegant solution for this. I’d like to underline certain elements, but give a different width to the border than to the text itself. Inspiration comes from the AirBnB header (see screenshot). The bottom border shouldn’t be as wide as the main text.

Is there a way to do this within the Bubble text element? I can imagine eventually coming up with a solution by grouping a text element and a separate shape (probably via ‘align to parent’), but I’m hoping for a more elegant solution. Any thoughts?

This topic was automatically closed after 70 days. New replies are no longer allowed.