Skip to main content

ToggleSwitchDisplay

const ToggleSwitchDisplay: React.FC<ToggleSwitchDisplayProps>;

Presentational version of ToggleSwitch that renders only the visual toggle indicator and label text — it does not render an <input> or manage any interaction/state itself.

Use this when the parent element (e.g. an AriaMenu item) already handles interaction and you only need to display the toggle state.

Example​

<ToggleSwitchDisplay checked={isMuted} label="Mute all guests" isSmall />