VerticalTextSwitch
Switching sides vertically and with text.
Example
false
Props
đšī¸ standard props
value boolean
The value of the switch (true or false)
falseheight size
Height of the switch
100%width size
Width of the switch
100%backgroundColor color
Background color of the switch
undefinedfirstColor color
Color for the first option
undefinedsecondColor color
Color for the second option
firstColorfontSize size
Font size for the options
12pxhoverBackgroundColor color
Background color on hover
undefinedhoverBoxShadow string
Box shadow effect on hover
undefinedanimationDuration number
Duration of the animation in milliseconds
200falseOptionSnippet Snippet
Snippet for the false option
undefinedtrueOptionSnippet Snippet
Snippet for the true option
undefinedđ¨ style props
--vertical-text-switch-height size
Height of the vertical text switch
100%--vertical-text-switch-hover-background-color color
Background color on hover
undefined--vertical-text-switch-hover-box-shadow string
Box shadow effect on hover
undefinedSlots
falseOptionSnippet
Snippet for the false option
trueOptionSnippet
Snippet for the true option
Events
onchange
Event triggered when the value of the switch changes