I am using lightning:input type=“toggle”
,
By default the label is displayed to the left of the component:
Here is my code:
<lightning:input type="toggle"
label="My Label: "
name="toggle"
checked="{!v.record.myCheckbox__c}"/>
I want the label to be displayed above the toggle button, but cannot find a way to do that.