--- title: Color Mode description: "Yamada UI provides features to change styles according to the color mode." --- ## Overview Yamada UI has built-in support for managing the application's color mode, allowing you to easily switch between light and dark modes. All provided components also support dark mode. :::info If you want to change the default color mode, please see [here](https://yamada-ui.com/docs/theming/color-mode.md). ::: ## Usage To apply color mode to [Style Props](https://yamada-ui.com/docs/styling/style-props.md), set an array. - Set the value for light mode as the first element. - Set the value for dark mode as the last element. ```tsx This is Box ``` ## Utilities Yamada UI provides useful custom hooks for color mode. - [useColorMode](https://yamada-ui.com/docs/hooks/use-color-mode.md): A custom hook that returns the current color mode. - [useColorModeValue](https://yamada-ui.com/docs/hooks/use-color-mode-value.md): A custom hook that returns the value of the current color mode from the provided values.