useIsDarkMode

useIsDarkMode

A hook that returns whether the document is currently in dark mode, updating live as the `dark` class toggles.

Dark mode: false

Dark mode: false

npx shadcn add @ectopcoi-components/use-dark-mode

© 2026 ectopcoi-components, All rights reserved.