[how-to] Simulate a Label Component

Sometimes you want to put a field label somewhere other than Retool wants you to. You can hide the Label, but how to make a new one that looks just like the other labels on your app?

There is no Label Component.

You can't use a Text component as no markdown quite matches.

Use an HTML component like this: <span style="font-weight:500">Your label here</span>


That way you can do tricks like simulating a top label position but put something next to the label: