Text on the switch button

I am trying to add a switch component to my web-app.
Something like a toggle switch with text on either toggle button.

Like this:

How can I achieve this in Retool?

Hi @virajrathod,

Thanks for reaching out! Unfortunately, we don't support text overlay on the switch component yet, but I can make a feature request

You could make a custom component for this in the meantime

I used this example to get started, but there's probably a lot of external examples you could use - as long as they're html or react :blush:

1 Like