# ColorSchemeButton Read the complete [LICENSE](https://snowui.dev/LICENSE) for the installed version before use. Switch between light and dark themes with an icon that reflects the current scheme. We are building SnowUI components into interfaces people can use directly in AI conversations. Conversational UI is still in development; this page demonstrates website usage. Supported chat platforms and component versions will be announced after verification. Generating and using SnowUI interfaces inside AI conversations is completely free. It is not a project, uses no project or developer-seat quota, and requires no SnowUI registration, activation, or paid proof. Package: `@snowui-design-system/components`. Import: `import { ColorSchemeButton } from '@snowui-design-system/components';`. Source fingerprint: `9ffe8ad094ac60e17b1699b7b8ec8509c34c8df24dbb1ddd795cd134d53a1adc`. ## Usage choices Use ColorSchemeButton to switch between light and dark schemes. New code uses this name; ThemeButton remains a compatibility export. Use StyleButton for design-style switching. - Synchronize the scheme with bind:scheme or onSchemeChange. defaultScheme supplies the initial scheme. - It updates the document theme by default. Set applyToDocument=false for local control. Without children it uses an icon-only layout. ## Read as needed - [API](https://snowui.dev/llms/en/components/color-scheme-button/api.md): Public Props and defaults - [Types and states](https://snowui.dev/llms/en/components/color-scheme-button/types.md): Public type declarations and binding rules - [Full reference](https://snowui.dev/llms/en/components/color-scheme-button/reference.md): Composition and interaction boundaries - [Styles](https://snowui.dev/llms/en/components/color-scheme-button/styles.md): Registered public overrides - [Examples](https://snowui.dev/llms/en/components/color-scheme-button/examples.md): Code and preview links - [Image index](https://snowui.dev/llms/components/color-scheme-button/images.json): Use only if appearance remains uncertain - [Changelog](https://snowui.dev/llms/en/components/color-scheme-button/changelog.md): Version history reviewed in English [Design guide](https://snowui.dev/llms/en/design-system.md) · [Styling guide](https://snowui.dev/llms/en/styling.md)