{
 "kind": "tool",
 "slug": "lit-npm",
 "path": "tools/lit-npm/",
 "name": "Lit",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Web frameworks",
   "tools/web-frameworks/"
  ]
 ],
 "lead": "Lightweight library for building fast, reusable web components with minimal overhead.",
 "chips": [
  {
   "label": "Web frameworks",
   "path": "tools/web-frameworks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install lit"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/lit/lit"
  },
  {
   "label": "Website",
   "href": "https://lit.dev/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/lit/lit"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 5, 2026",
   "note": "Latest GitHub release May 14, 2026. ",
   "src": "https://github.com/lit/lit"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "42 projects",
   "status": "info",
   "sub": "#15 of 76 in its category",
   "note": "Dependency in 42 public GitHub projects set up for AI coding agents that we scanned (0.7%).",
   "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 Lit does",
   "parts": [
    {
     "t": "prose",
     "text": "Lightweight library for building fast, reusable web components with minimal overhead."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Lit popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "67",
       "of": "/ 100",
       "l": "Gid Score, #573 overall"
      },
      {
       "n": "10.4M",
       "l": "downloads a week, npm"
      },
      {
       "n": "21.9K",
       "l": "GitHub stars"
      },
      {
       "n": "42",
       "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 Lit is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Lit is a dependency in 42 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.9% of the 4,867 JavaScript/TypeScript ones), #15 of 76 in web frameworks.",
      "The most used alternative in our scan is React (2,038 projects).",
      "Projects that use it most often also use Vitest (85.7%), chalk (81.0%), jiti (81.0%).",
      "It is more common in projects set up for OpenClaw (10.2%) than for GitHub Copilot (0.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "37 projects, 1.1%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "34 projects, 10.2%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "18 projects, 0.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "16 projects, 3.4%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 85.7% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 81.0% of its projects",
       "v": "chalk",
       "path": "tools/chalk/"
      },
      {
       "l": "In 81.0% of its projects",
       "v": "jiti",
       "path": "tools/jiti/"
      },
      {
       "l": "In 81.0% of its projects",
       "v": "JSZip",
       "path": "tools/jszip/"
      },
      {
       "l": "In 78.6% of its projects",
       "v": "Clack Prompts",
       "path": "tools/clack-prompts/"
      },
      {
       "l": "In 78.6% of its projects",
       "v": "@lit/context",
       "path": "tools/lit-context/"
      },
      {
       "l": "In 78.6% of its projects",
       "v": "Commander",
       "path": "tools/commander/"
      },
      {
       "l": "In 78.6% of its projects",
       "v": "Croner",
       "path": "tools/croner/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Lit",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Web frameworks",
       "path": "tools/web-frameworks/",
       "items": [
        {
         "text": "Next.js",
         "path": "tools/next/"
        },
        {
         "text": "next-themes",
         "path": "tools/next-themes/"
        },
        {
         "text": "React Router",
         "path": "tools/react-router-dom/"
        },
        {
         "text": "Astro",
         "path": "tools/astro/"
        },
        {
         "text": "React Native Web",
         "path": "tools/react-native-web/"
        },
        {
         "text": "Nuxt",
         "path": "tools/nuxt/"
        },
        {
         "text": "next-intl",
         "path": "tools/next-intl/"
        },
        {
         "text": "Streamlit",
         "path": "tools/streamlit/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Lit",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 67",
        "10.4M/wk"
       ]
      },
      {
       "name": "React",
       "why": "JavaScript library for building interactive user interfaces with components.",
       "path": "tools/react/",
       "facts": [
        "MIT",
        "Gid 96",
        "276M/wk"
       ]
      },
      {
       "name": "Vue",
       "why": "Progressive JavaScript framework for building interactive user interfaces.",
       "path": "tools/vue/",
       "facts": [
        "MIT",
        "Gid 80",
        "26.8M/wk"
       ]
      },
      {
       "name": "Angular",
       "why": "Full-featured web framework with TypeScript, dependency injection and RxJS.",
       "path": "tools/angular/",
       "facts": [
        "MIT",
        "Gid 76",
        "8.3M/wk"
       ]
      },
      {
       "name": "Svelte",
       "why": "Compiler-based frontend framework for building reactive web interfaces with less boilerplate.",
       "path": "tools/svelte/",
       "facts": [
        "MIT",
        "Gid 77",
        "10.4M/wk"
       ]
      }
     ],
     "more": "Compare Lit with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install lit"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Lit yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm lit"
  ],
  [
   "Category",
   "Web frameworks"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "66.6"
  ],
  [
   "Rank in category",
   "#15 of 76"
  ],
  [
   "GitHub",
   "lit/lit"
  ],
  [
   "Last change",
   "Nov 5, 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/lit.png"
}