• Docs
  • Pro
  • Pricing
  • Templates
  • Releases
IntroductionInstallationThemingStructureContent
AsideAsideLinksAuthFormBlogListBlogPostColorModeAvatarColorModeButtonColorModeImageColorModeSelectColorModeToggleContentSearchContentSearchButtonContentSurroundContentTocDashboardCardDashboardLayoutDashboardModalDashboardNavbarDashboardNavbarToggleDashboardPageDashboardPanelDashboardPanelContentDashboardPanelHandleDashboardSearchDashboardSearchButtonDashboardSectionDashboardSidebarDashboardSidebarLinksDashboardSlideoverDashboardToolbarFooterFooterColumnsFooterLinksHeaderHeaderLinksHeaderPopoverLinksLandingCardLandingCTALandingFAQLandingGridLandingHeroLandingLogosLandingSectionLandingTestimonialMainNavigationAccordionNavigationLinksNavigationTreePagePageBodyPageCardPageColumnsPageErrorPageGridPageHeaderPageHeroPageLinksPricingCardPricingGridPricingToggle
CalloutCardCardGroupCodeBlockCodeGroupCollapsibleFieldFieldGroupShortcutTabs
  1. Pro
  2. Components

ColorModeSelect

SelectMenuGitHub
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.

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {},
  "excerpt": false,
  "tag": "div"
}
A class prop has been added to avoid layout shift here.

ColorModeImage

An <img> with a different src for light and dark mode.

ColorModeToggle

A Toggle to switch between color mode.

  • Usage

Resources

Figma Kit Pro Purchase a license Become an affiliate
  • Figma Kit
  • Playground
  • Roadmap
  • Releases
  • Terms
Purchase Nuxt UI Pro