ColorMode

Change the color mode to improve the visibility of your site!

On this page

Install usebootstrap-docs

ColorMode is an experimental component included in the usebootstrap-docs module.

Module installation is required to run

Installation of use-bootstrap-docs NPM Package

npx nuxi@latest module add usebootstrap-docs

ColorMode

By adding a <ColorModeNavItemDropdown> you can switch between dark and light modes with a single button.

vue
<template>
  <NavbarNavList>
    <ColorModeNavItemDropdown />
  </NavbarNavList>
</template>