How with tailwindcss make toggle button with 3 states?

Could you please provide tailwindcss 2.1 code snippet/fiddle etc… with fancy looking toggle button with 3 states : “On”, “Off”, “Idle”…

I search something like

but with 3 possible states


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.