{
 "kind": "tool",
 "slug": "next-themes",
 "path": "tools/next-themes/",
 "name": "next-themes",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Web frameworks",
   "tools/web-frameworks/"
  ]
 ],
 "lead": "Abstraction for managing themes (dark/light mode) in Next.js apps.",
 "chips": [
  {
   "label": "Web frameworks",
   "path": "tools/web-frameworks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install next-themes"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pacocoursey/next-themes"
  },
  {
   "label": "Website",
   "href": "https://github.com/pacocoursey/next-themes#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/pacocoursey/next-themes"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Feb 25, 2026",
   "note": "Latest GitHub release Mar 11, 2025. ",
   "src": "https://github.com/pacocoursey/next-themes"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "578 projects",
   "status": "info",
   "sub": "#3 of 76 in its category",
   "note": "Dependency in 578 public GitHub projects set up for AI coding agents that we scanned (9.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What next-themes does",
   "parts": [
    {
     "t": "prose",
     "text": "Abstraction for managing themes (dark/light mode) in Next.js apps."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "next-themes popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "79",
       "of": "/ 100",
       "l": "Gid Score, #124 overall"
      },
      {
       "n": "36.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "6,351",
       "l": "GitHub stars"
      },
      {
       "n": "578",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How next-themes is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "next-themes is a dependency in 578 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (11.9% of the 4,867 JavaScript/TypeScript ones), #3 of 76 in web frameworks.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 2,461; those are left out of every share on this page.",
      "Projects that use it most often also use Lucide React (94.6%), clsx (94.5%), Tailwind Merge (94.1%).",
      "It is more common in projects set up for Kiro (12.9%) than for OpenAI Codex (6.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "296 projects, 12.1%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "284 projects, 8.7%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "280 projects, 9.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "46 projects, 9.7%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "32 projects, 9.3%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "32 projects, 6.8%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "30 projects, 10.8%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "18 projects, 12.9%",
       "v": "Kiro",
       "path": "agents/kiro/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 94.6% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 94.5% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 94.1% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 92.4% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 99.7% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 77.0% of its projects",
       "v": "Radix UI",
       "path": "tools/radix-ui/"
      },
      {
       "l": "In 76.3% of its projects",
       "v": "Sonner",
       "path": "tools/sonner/"
      },
      {
       "l": "In 75.6% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about next-themes",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/pacocoursey",
        "2 GitHub sponsors"
       ]
      },
      {
       "title": "More in Web frameworks",
       "path": "tools/web-frameworks/",
       "items": [
        {
         "text": "React",
         "path": "tools/react/"
        },
        {
         "text": "Next.js",
         "path": "tools/next/"
        },
        {
         "text": "React Router",
         "path": "tools/react-router-dom/"
        },
        {
         "text": "Vue",
         "path": "tools/vue/"
        },
        {
         "text": "Astro",
         "path": "tools/astro/"
        },
        {
         "text": "React Native Web",
         "path": "tools/react-native-web/"
        },
        {
         "text": "Angular",
         "path": "tools/angular/"
        },
        {
         "text": "Svelte",
         "path": "tools/svelte/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "next-themes",
       "me": true,
       "facts": [
        "MIT",
        "Gid 79",
        "36.6M/wk"
       ]
      }
     ],
     "more": "Compare next-themes with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install next-themes"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for next-themes yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm next-themes"
  ],
  [
   "Category",
   "Web frameworks"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "78.6"
  ],
  [
   "Rank in category",
   "#3 of 76"
  ],
  [
   "GitHub",
   "pacocoursey/next-themes"
  ],
  [
   "Last change",
   "Feb 25, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/pacocoursey.png"
}