Nuxt UI Pro v1.0 is out with dashboard components! Discount ends 16 hours ago.
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.