Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Switch <wa-switch>

Immediately toggles a setting on or off.

“allows a user to enter data that is sent to a server for processing” — Wikipedia: HTML form. This quote supplies general domain context, not an API definition.

Category: Forms · Availability: Core · Maturity: Stable.

Source: Web Awesome component source (MyST GitHub transformer); official component documentation.

Live preview

Markdown code snippet

<wa-switch checked="">Enable alerting</wa-switch>

Use native MyST for documentation layout; interactive Web Awesome previews remain hosted through the existing {anywidget} integration when available.