Usage
The ColorModeButton component extends the Button component, so you can pass any property such as color, size, etc.
<template>
<B24ColorModeButton />
</template>
The button defaults to
color="air-tertiary-no-accent".Examples
With fallback slot
As the button is wrapped in a ClientOnly component, you can pass a fallback slot to display a placeholder while the component is loading.
<template>
<B24ColorModeButton>
<template #fallback>
<B24Button loading />
</template>
</B24ColorModeButton>
</template>