# shadcn-ui/ui SLOC report

> shadcn-ui/ui: 692,487 code lines at commit ba1503c64472, counted with tokei-14.0.0 on 2026-10-20. Saved result 23faf431b22200959e453544c21853921af432cfb2954f614e4bba1154a6dc4f.

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.

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.

## Repository size insights

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 | 3,533 | 467,671 | 448,398 | 1,101 | 18,172 |
| TypeScript | 531 | 149,462 | 132,750 | 3,563 | 13,149 |
| JSON | 858 | 53,533 | 53,520 | 0 | 13 |
| YAML | 20 | 50,885 | 43,043 | 4 | 7,838 |
| CSS | 26 | 18,233 | 13,722 | 548 | 3,963 |
| JavaScript | 27 | 1,010 | 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 | 7,751 | 0 | 5,278 | 2,473 |
| Plain Text | 3 | 168 | 0 | 135 | 33 |

Top language (TSX 64.8%). Generated at 2026-10-20T01:02:52.227265412Z. Canonical report: https://octocounts.com/github/shadcn-ui/ui/commit/ba1503c64472b82256d9de95e2e62c5901a38e8b?reportId=23faf431b22200959e453544c21853921af432cfb2954f614e4bba1154a6dc4f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/shadcn-ui/ui/commit/ba1503c64472b82256d9de95e2e62c5901a38e8b?reportId=23faf431b22200959e453544c21853921af432cfb2954f614e4bba1154a6dc4f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

shadcn-ui/ui has 748,920 total lines, including 692,487 code lines, 10,708 comment lines, and 45,725 blank lines.

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

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.

### What commit was counted for shadcn-ui/ui?

This OctoCounts report was generated from main at commit ba1503c64472 on 2026-10-20T01:02:52.227265412Z.

## Similar repository reports

- [TryGhost/Ghost](https://octocounts.com/github/TryGhost/Ghost) — TSX, 684,923 code lines
- [dubinc/dub](https://octocounts.com/github/dubinc/dub) — TSX, 527,750 code lines
- [facebook/astryx](https://octocounts.com/github/facebook/astryx) — TSX, 978,533 code lines
- [anywhere-labs/Agents-Anywhere](https://octocounts.com/github/anywhere-labs/Agents-Anywhere) — TSX, 480,473 code lines
- [supabase/supabase](https://octocounts.com/github/supabase/supabase) — TSX, 1,036,928 code lines
- [learnhouse/learnhouse](https://octocounts.com/github/learnhouse/learnhouse) — TSX, 407,651 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
