Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

next-themes

> 前端框架
Open source

Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing

6.3K stars0 likes1 views
WebsiteGitHub

About

Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing

Issues· 69 open

View all issuesOpen on GitHub
  • #387

    [Bug]: Script tag while rendering React component.

    bugtriageUpdated Sep 5, 2026
  • #397

    [Bug]: React 19.2 dev error "Encountered a script tag while rendering React component" when ThemeProvider remounts on client (e.g. switching a root dynamic segment like `[lang]`)

    bugtriageUpdated Aug 18, 2026
  • #199

    Unexpected Theme Switch to Light Mode After User Login

    Updated Jul 29, 2026
  • #374

    [Bug]: react-hooks/set-state-in-effect ESLint error when trying to avoid hydration mismatch

    bugtriageUpdated Jul 24, 2026
  • #309

    [Feature request]: Support themes with themes

    requestUpdated Apr 29, 2026
  • #389

    [Bug]: localStorage.getItem is not a function on Node.js 25+ (window = globalThis breaks SSR guard)

    Updated Apr 23, 2026
  • #385

    [Bug]: Script tag not supported in react components

    bugtriageUpdated Apr 23, 2026
  • #370

    [Bug]: Uncaught ReferenceError: __name is not defined in Injected Theme Script

    bugtriageUpdated Mar 16, 2026
  • #375

    [Bug]: next-themes forces stale theme when Next.js cacheComponents/Activity is enabled (React 19, Next 16)

    bugtriageUpdated Feb 26, 2026
  • #351

    [Bug]: Theme class name get's removed from `html`

    bugtriageUpdated Feb 6, 2026

> Tags

TypeScriptdark-modedark-themenextjsreact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 25, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架