Nuxt UI Pro v1.0 is out with dashboard components! Discount ends in 7 hours.

ColorModeSelect

A Select to switch between color mode.

Usage

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>
A class prop has been added to avoid layout shift here.