halfmoon icon indicating copy to clipboard operation
halfmoon copied to clipboard

[Feature request] Put label before switch

Open KaKi87 opened this issue 3 years ago • 0 comments

Hello,

I'm desperately trying to put a switch's label before itself.

I tried :

  • putting the <label> element before the <input> element
  • using CSS display: flex; flex-direction: row-reverse on either parent or children

Until I realized the switch uses :before and :after.

So, it would be nice to have a modifier class for the switch component in order to position its label before itself.

Thanks !

KaKi87 avatar Apr 15 '22 10:04 KaKi87