Stats
These numbers are counted from the repository when the site builds. The one exception is the runtime dependency count, which is typed by hand.
The library
169 documented components, but 195 custom elements. The difference is child items like arc-tab and arc-menu-item, which you only use inside their parent. The 7 frameworks areReact, Vue, Svelte, Angular, Solid, Preact and HTML, each generated from the same Lit source.
Shape
Components by tier.
- Input44
- Content26
- Data25
- Navigation22
- Layout19
- Feedback18
- Typography15
Surface area
Props, events, parts and slots are counted from the JSDoc tags in the component source. The same tags generate the API tables, the editor autocomplete data and the typed wrapper packages.
That's roughly 5 props and 5 CSS parts per component.
The build
All 195 elements server-render to declarative shadow DOM, and a build check fails if that stops being true. Lit is a peer dependency, and the runtime dependencies are @lit-labs/ssr-client and qrcode-generator. The framework packages are generated by pnpm generate, a 56-step pipeline. Contributing covers when to run it.
How these are counted
Components · tiersThe docs data index: one entry per documented component, tier included.Custom elementsOne .register.js per element, counted on disk. The same set the SSR check renders.Props · events · parts · slotsJSDoc tags in the component sources, excluding icons and generated files.Design tokensUnique custom properties declared in the generated base.css.TestsEvery it( across the component suites.IconsExports in the generated Phosphor and Lucide sets.The counts live in one module, site-stats.ts, shared by this page, the landing page and the social card, so the number on a link preview can't disagree with the number on the page it previews.