Nuxt UI Pro v1.0 is out with dashboard components! Discount ends 16 hours ago.

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.