More Toggles PCF Control

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)