Nuxt UI Pro v1.0 is out with dashboard components!
A Select to switch between color mode.
You can pass any prop of the Select component to override the style or size, they will be forwarded.
<template> <UColorModeSelect class="w-28" /> </template>
class
ColorModeImage
An <img> with a different src for light and dark mode.
ColorModeToggle
A Toggle to switch between color mode.
Resources