chromium/chrome/browser/resources/ash/settings/os_privacy_page/metrics_consent_toggle_button.html

<style>
  :host {
    display: block;
  }
</style>
<settings-toggle-button
    id="settingsToggle"
    pref="[[metricsConsentPref_]]"
    label="$i18n{enableLogging}"
    sub-label="$i18n{enableLoggingDesc}"
    disabled="[[!isMetricsConsentConfigurable_]]"
    on-settings-boolean-control-change="onMetricsConsentChange_"
    no-set-pref>
</settings-toggle-button>