SwitchButton

Toggle switch for a boolean value, with left or right alignment, an optional description and bottom border

Live preview

Open in new tab ↗

Configuration:

  • required {Boolean} optional, enables "required" (default: false)
  • disabled {Boolean} optional, disables this component
  • border {Boolean} optional, allow border bottom (default: false)
  • align {String} left/right alignment of the switch element (default: left)
  • description {String} optional

More UI components

Browse all 348