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

ColorModeButton

ButtonGitHub
A Button to switch between color mode.

Usage

You can pass any prop of the Button component to override the style or size, they will be forwarded.

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {},
  "excerpt": false,
  "tag": "div"
}

ColorModeAvatar

An Avatar with a different src for light and dark mode.

ColorModeImage

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

  • Usage

Resources

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