More Toggles PCF Control

IMPORTANT
Help UKRAINE ! Your action matters! Donate money to support Ukrainian Army! Donate money to charity fund! Sign petition to SAVE MARIUPOL! Organize/join street protests in your city to support Ukraine and condemn Russian aggression! Expose and report Russian disinformation! #StandWithUkraine

Introduction

Recently I saw an awesome library - MoreToggles.css which allows you to create a wide variety of interesting toggles. And I decided to create a PCF control that will allow me to use it in Power Apps. You can find a demo and configuration details below. Click to DOWNLOAD this control.

Configuration

This is the list of parameters that can be set on the control

  • Toggle Class : css class from MoreToggles.css (.mt-check-garden by default)
  • Toggle Size : Allows you to control size of the toggle in pixels (provide coresponding number of pixels) (TIP set to 8 if you want to have the size of the stadnard dataverse control)
  • Show Lable : Show lable for the selected option (No by default)