Toggle

A control that toggles between on and off states.

5 components
Multiple Sources Toggle - iOS Liquid Glass Light Mode Preview
initializer

Multiple Sources Toggle

Creates a toggle that updates the selected property for all sources. Once toggled, all sources will have the same value.

Toggle - iOS Liquid Glass Light Mode Preview
initializer

Toggle

Creates a toggle with title, image, systemImage, and custom label.

CheckboxToggleStyle - macOS Liquid Glass Light Mode Preview
style

CheckboxToggleStyle

A toggle style that displays a checkbox followed by its label.

SwitchToggleStyle - iOS Liquid Glass Light Mode Preview
style

SwitchToggleStyle

A toggle style that displays a leading label and a trailing switch.

ButtonToggleStyle - iOS Liquid Glass Light Mode Preview
style

ButtonToggleStyle

A toggle style that displays as a button with its label as the title.