{"adoption": {"forks": 254, "observed_at": "2026-08-28T04:09:41.813566+00:00", "stars": 6333}, "canonical_url": "https://ross.abutalabs.com/products/next-themes", "card": {"archived": false, "artifact_type": "library", "description": "Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing", "domain": ["web-development", "frontend"], "enriched": true, "function": ["theme", "state-management", "ui-components"], "health_score": 73, "homepage": "https://next-themes-example.vercel.app/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["pacocoursey/next-themes"], "name": "pacocoursey/next-themes", "platform": ["browser"], "pushed_at": "2026-02-25T05:25:42+00:00", "repo": "pacocoursey/next-themes", "stars": 6333, "tags": ["nextjs", "dark-mode", "react", "theming", "system-preference", "nodejs", "web-server"], "topics": ["dark-theme", "dark-mode", "nextjs", "react", "themes"], "urls": [], "use_cases": ["add dark mode to a Next.js app", "respect user system color scheme preference", "avoid theme flash on page load", "support multiple custom color themes", "toggle themes with a React hook", "persist theme choice across visits"], "what_it_is": "next-themes is a small React library providing theme management for Next.js apps, supporting system preference, custom themes, and flash-free dark mode. It abstracts theme switching with SSR-safe handling in just a couple lines of code.", "when_to_avoid": ["you are not using React or Next.js", "you need complex multi-tenant theming or design token systems", "you use a CSS-in-JS solution with its own theming"], "when_to_choose": ["you need dark mode in Next.js with no flash of wrong theme", "you want SSR-safe theme switching with minimal setup", "you need system preference detection plus manual override"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/next-themes", "repo": "pacocoursey/next-themes", "role": "main", "score": 65}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:41.813566+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:46:09.714677+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7bc50defab8772b7324f106c06ec65b18f92daece6530cf752a37cdfb8967f5d", "fetched_at": "2026-08-28T04:09:41.813566+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pacocoursey/next-themes"}, {"content_hash": "3dac188a0b000f1a820176b042ae390ab85ab07f1465e603f40c7e8ca788ed67", "fetched_at": "2026-08-29T08:42:47.153753+00:00", "kind": "homepage", "missing": false, "url": "https://next-themes-example.vercel.app/"}, {"content_hash": "feeae0d28414661f12ee651b7266ad165a78e62d8ebc80f00ceb9a89fd0ba04c", "fetched_at": "2026-08-29T08:42:47.162677+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/next-themes"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 69, "longevity": 100, "rhythm": 40}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2153, "days_push": 189, "days_rel": 540, "gap_med": 0.5, "n_releases_24m": 7}, "score": 65, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}