Color state composable for theme or UI customization. Provides a reactive color string that can be shared across components.
const color = useColor()color.value = "blue" // Changes the global color Copy
const color = useColor()color.value = "blue" // Changes the global color
Reactive color value initialized to "pink"
Color state composable for theme or UI customization. Provides a reactive color string that can be shared across components.
Example