stnd.build

ColorModeToggle (.astro)

The Astro door to ColorModeToggle.svelte: it mounts the switch as an island, so a page does not have to remember client:load. Every prop passes through.

<ColorModeToggle />
<ColorModeToggle variant="segmented" />