shadcn-ui/ui

shadcn-ui/ui has 690,439 source lines of code out of 749,049 total lines across 5,081 files, counted with tokei from the main ref at commit 8ab27715521c on November 8, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-08 (commit 8ab27715521c), shadcn-ui/ui contains 749,049 total lines: 690,439 code, 10,816 comments, 47,794 blank, across 5,081 files in 13 languages (top language: TSX 65.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-08 (commit 8ab27715521c), shadcn-ui/ui contains 749,049 total lines: 690,439 code, 10,816 comments, 47,794 blank, across 5,081 files in 13 languages (top language: TSX 65.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving shadcn-ui/ui to commit 8ab27715521c, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 92.2% of all lines, comments represent 1.4%, and the repository averages 136 code lines per file. TSX accounts for 65.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
TSX3533467913448567113718209
TypeScript531149400132622361813160
JSON8585404454031013
YAML20502864043749845
CSS2618233137225483963
JavaScript2710168757467
Astro4726804
Dockerfile2443806
Shell1392757
HTML2262600
SVG11262600
Markdown637782052952487

Top language: TSX 65.0%. Generated on .

Counting rules and retention

shadcn-ui/ui: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does shadcn-ui/ui have?

shadcn-ui/ui has 690,439 lines of code, plus 10,816 comment lines and 47,794 blank lines, for 749,049 total lines at commit 8ab27715521c on November 8, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the shadcn-ui/ui line count measured?

OctoCounts resolved the public GitHub repository to commit 8ab27715521c, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for shadcn-ui/ui?

This OctoCounts report was generated from main at commit 8ab27715521c on November 8, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for shadcn-ui/ui on this page — 690,439 code lines across 13 languages, counted by tokei.