<BaseTheme* /> · A theme switching component.
<template>
<BaseThemeToggle />
<BaseThemeSwitch />
<BaseThemeSystem />
</template>
This is a self closing component that can be used to switch between different themes.
<template>
<BaseThemeToggle />
</template>
This component has props that you can use to modify its visual style.
| Prop | Type |
|---|---|
iddefault: - | stringThe form input identifier. |
transitionsdefault: false | booleanEnables transitions when toggling between light and dark mode. |
variantdefault: "default" | "default"The variant of the toggle. |
| Prop | Type |
|---|---|
iddefault: - | stringThe form input identifier. |
transitionsdefault: false | booleanEnables transitions when toggling between light and dark mode. |
variantdefault: "default" | "default"The variant of the Switch. |
| Prop | Type |
|---|---|
iddefault: - | stringThe form input identifier. |
transitionsdefault: false | booleanEnables transitions when toggling between light and dark mode. |
variantdefault: "default" | "default"The variant of the toggle. |