---
schema_version: "1"
id: 3107bdcc017d42a35edee54741d380e160c4e928f8b84ed330123b8219949816
title: Flexcards Toggle Properties (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_flexcards_toggle_properties.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_flexcards_toggle_properties.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 63fbf42c487ad6150ae21e4373eafbe1200cda208cf1c198f08d1557473df70f
description: For the managed package runtime, toggle element properties are configurable in the Property Panel when you select a Toggle element in the Flexcard Designer. Trigger an action when a user selects a Toggle element.
products:
  - Omnistudio
release: "264"
---
# Flexcards Toggle Properties (Managed Package)

For the managed package runtime, toggle element properties are configurable in the Property Panel when you select a Toggle element in the Flexcard Designer. Trigger an action when a user selects a Toggle element.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_important.png)

Important

Beginning Winter '22, access the Toggle element from the Inputs section of the Build panel. Before Winter '22, access the Toggle element from the Elements section of the Build panel.

## Common Toggle Element Properties

These properties are shared by all Toggle element types.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d291606e63">
              <p style="margin-bottom:0;">Property</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d291606e69">
              <p style="margin-bottom:0;">Description</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d291606e75">
              <p style="margin-bottom:0;">Reference</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e63 ">
              <p style="margin-bottom:0;">Add Action</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e69 ">
              <p style="margin-bottom:0;">Add an action that gets triggered when a user clicks the toggle element.</p>
            </td>

            <td data-label="Reference" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e75 ">

            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e63 ">
              <p style="margin-bottom:0;">Conditions</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e69 ">
              <p style="margin-bottom:0;">Add a condition that must be met for the element to display.</p>
            </td>

            <td data-label="Reference" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e75 ">

            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e63 ">
              <p style="margin-bottom:0;">Element Name</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e69 ">
              <p style="margin-bottom:0;">The name of the element as seen on the canvas. Used to distinguish one element from another as you build your Flexcard in the designer. Is used only within the designer.</p>
            </td>

            <td data-label="Reference" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e75 ">

            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e63 ">
              <p style="margin-bottom:0;">Extra Class</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e69 ">
              <p style="margin-bottom:0;">Enter a class appended to the container of the element. Select from a class defined in the <strong class="uicontrol">Add Custom CSS</strong> feature of the Flexcard Designer or any style sheet available to the Flexcard.</p>
            </td>

            <td data-label="Reference" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e75 ">
              <p style="margin-bottom:0;">n/a</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e63 ">
              <p style="margin-bottom:0;">Toggle Type</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e69 ">
              <p style="margin-bottom:0;">Set the type of toggle element to display.</p>
            </td>

            <td data-label="Reference" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e75 ">

            </td>

          </tr>
        </tbody>
      </table>

## Toggle Element Properties

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d291606e201">
              <p style="margin-bottom:0;">Property</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d291606e207">
              <p style="margin-bottom:0;">Description</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d291606e213">
              <p style="margin-bottom:0;">Type</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Alignment</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select whether to align each checkbox horizontally or vertically.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Checkbox Group</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Alternative Text</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Enter text for accessibility, visible when image isn’t present.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Checked Icon Name</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select the icon visible when the element is checked.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Checkbox Button, Dual Stateful Button, Stateful Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Checked Label</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select the label visible when the element is checked.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Button, Dual Stateful Button, Checkbox Toggle</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Checked</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Set the toggle element to be checked by default.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon, Checkbox Button, Checkbox Toggle, Stateful Button, Dual Stateful Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Disabled</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Disable the toggle element. Or disable the toggle element based on the value of a data field whose value returns true or false. The field must have a boolean value. If the value returns a string, <strong class="uicontrol">Disabled</strong> is false.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon, Checkbox Button, Checkbox Toggle, Stateful Button, Dual Stateful Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Help Text</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Add text visible when user hovers over the help <code>i</code> icon.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon, Checkbox Button, Checkbox Group Button, Checkbox Group, Checkbox Toggle</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Icon Name</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select the icon.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Icon On Hover</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select the icon visible on hover of the element.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Label On Hover</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select the label visible on hover of the element.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Label</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Enter a visible label for the element.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon, Checkbox Button, Checkbox Group Button, Checkbox Group, Checkbox Toggle</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Options</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Enter a key/value pair for each checkbox option.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Checkbox Group, Checkbox Group Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Required Label</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Add text next to the asterisk when <strong class="uicontrol">Require</strong> is enabled.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon, Checkbox Button, Checkbox Group Button, Checkbox Group, Checkbox Toggle</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Required</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Make the toggle element a required field. Adds an asterisk next to the element.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Checkbox Toggle, Checkbox Group Button, Checkbox Group</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Unchecked Icon Name</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select the icon visible when the element is unchecked</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Checkbox Button, Dual Stateful Button, Stateful Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Unchecked Label</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select the label visible when the element is unchecked.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Button, Dual Stateful Button, Checkbox Toggle</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Field Binding</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Updates the data source with the value of the selected state of the toggle element.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Icon, Checkbox Button, Checkbox Toggle, Stateful Button, Dual Stateful Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Value</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Add default value. For example, set a value as true or enter a comma-separated list of selected options.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Checkbox Group, Checkbox Group Button</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e201 ">
              <p style="margin-bottom:0;">Variant</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e207 ">
              <p style="margin-bottom:0;">Select from predefined SLDS styles to change the appearance of the element.</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d291606e213 ">
              <p style="margin-bottom:0;">Stateful Button</p>
            </td>

          </tr>
        </tbody>
      </table>