- a simple toggle button which uses tailwind library by default
- just simply write your css in tailwind with :dark classes
- when toggled it will automatically switches the modes
npm i vue-darkmode-toggle
import { DarkModeToggle } from 'vue-darkmode-toggle'
<template>
<DarkModeToggle class='h-4 w-4' />
</template>