The Toggle component renders a switch to toggle between enabled or disabled states.
size="md" (default), size="sm", and size="xs"."md" in most contexts including settings pages and form layouts."sm" in tighter layouts such as table rows, inline controls, or condensed settings panels."xs" in the most space-constrained contexts.isDisabled.isInvalid and provide an error message.withTruncatedLabel={false} to allow wrapping.description to provide extra context when the label alone doesn't explain the Toggle's effect. Keep descriptions to a short phrase without end punctuation.error messages as actionable steps the user can take to resolve the issue.isChecked and onChange to manage state.label or ariaLabel (or ariaLabelledby) — the component throws if none is present.onChange receives a ChangeEvent<HTMLInputElement> in React and a native Event in Ember.labelOn and labelOff props are deprecated — do not use.size values "medium" and "small" are deprecated aliases for "md" and "sm".label prop (string or ReactNode). Ember: use the @label arg or yield content into the :label named block.<PlumaToggle>. Args use @ prefix (e.g., @isChecked, @onChange, @size).