shadcn-ui/ui has 692,487 source lines of code out of 748,920 total lines across 5,079 files, counted from the main ref at commit ba1503c64472 by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-20 (commit ba1503c64472), shadcn-ui/ui contains 748,920 total lines: 692,487 code, 10,708 comments, 45,725 blank, across 5,079 files in 13 languages (top: TSX 64.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving shadcn-ui/ui to commit ba1503c64472, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 92.5% of all lines, comments represent 1.4%, and the repository averages 136 code lines per file. TSX accounts for 64.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TSX | 3533 | 467671 | 448398 | 1101 | 18172 |
| TypeScript | 531 | 149462 | 132750 | 3563 | 13149 |
| JSON | 858 | 53533 | 53520 | 0 | 13 |
| YAML | 20 | 50885 | 43043 | 4 | 7838 |
| CSS | 26 | 18233 | 13722 | 548 | 3963 |
| JavaScript | 27 | 1010 | 869 | 74 | 67 |
| Astro | 4 | 72 | 68 | 0 | 4 |
| Dockerfile | 2 | 44 | 38 | 0 | 6 |
| Shell | 1 | 39 | 27 | 5 | 7 |
| HTML | 2 | 26 | 26 | 0 | 0 |
| SVG | 11 | 26 | 26 | 0 | 0 |
| Markdown | 61 | 7751 | 0 | 5278 | 2473 |
Top language (TSX 64.8%). Generated at .
shadcn-ui/ui has 748,920 total lines, including 692,487 code lines, 10,708 comment lines, and 45,725 blank lines.
OctoCounts resolved the public GitHub repository to commit ba1503c64472, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit ba1503c64472 on 2026-10-20T01:02:52.227265412+00:00.
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 — 692,487 code lines across 12 languages, counted by tokei.