Source: https://seerepo.com/compare/modem-dev/hunk/vs/shadcn-ui/ui
Markdown source: https://seerepo.com/compare/modem-dev/hunk/vs/shadcn-ui/ui.md
Description: hunk and ui share 3 technologies: React, shiki, and Zod. Both are written in TypeScript.

# hunk vs ui

hunk and ui share 3 technologies: React, shiki, and Zod. Both are written in TypeScript.

- [modem-dev/hunk](https://seerepo.com/r/modem-dev/hunk): Review-first terminal diff viewer for agentic coders
- [shadcn-ui/ui](https://seerepo.com/r/shadcn-ui/ui): Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.

## What they share and what sets them apart

- In common: React, shiki, Zod
- Only in hunk: OpenTUI
- Only in ui: Next.js, fumadocs-core, lru-cache, Vercel, SQLite, MCP, React Router, Vite, TanStack, Tailwind CSS, cn, class-variance-authority, next-themes, recharts, Radix UI, Base UI, react-aria-components, sonner, react-resizable-panels, embla-carousel-react, input-otp, react-day-picker, cmdk, dnd-kit, motion, vaul, React Hook Form, Lucide, hugeicons, @tabler/icons-react, @phosphor-icons/react, @remixicon/react, ai, @ai-sdk/react, react-qr-code, streamdown, front-matter, unist-util-visit, PostCSS, prompts, ora, postcss-selector-parser

## Side by side

| | hunk | ui |
|---|---|---|
| Size | 322,988 lines written, 558 code files | 636,360 lines written, 3,888 code files |
| Who writes it | 13% of its commits signed by AI. With Claude Code, Codex, and GitHub Copilot | 2.9% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, Codex, and Devin |
| Activity | Last push November 14, 2026, 997 commits, 9,829 stars | Last push November 11, 2026, 2,309 commits, 127,941 stars |
| Tests | 582 test files. 81% of its code files have a test that imports them | 415 test files. 3.8% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, hunk or ui?

ui, with 636,360 lines written; hunk has 322,988.

The proof: [shadcn-ui/ui's code at commit dd41d19](https://github.com/shadcn-ui/ui/tree/dd41d19e2f80ff6891951f7ced74c2c9a650b065)

### Which has more GitHub stars, hunk or ui?

ui, with 127,941 stars; hunk has 9,829.

The proof: [shadcn-ui/ui on GitHub](https://github.com/shadcn-ui/ui)

### Which has more tests, hunk or ui?

hunk, with 582 test files; ui has 415.

The proof: [modem-dev/hunk's code at commit 0147a84](https://github.com/modem-dev/hunk/tree/0147a846951627b88f8ddc178e0d23ca58cece76)

### Which was updated more recently, hunk or ui?

hunk: its last push was on November 14, 2026, and ui's on November 11, 2026.

The proof: [modem-dev/hunk's commits on GitHub](https://github.com/modem-dev/hunk/commits)

### Which has more commits signed by AI, hunk or ui?

hunk: an AI signed 13% of its commits, with Claude Code, Codex, and GitHub Copilot; in ui, 2.9%.

The proof: [the commits each tool signed in modem-dev/hunk](https://seerepo.com/r/modem-dev/hunk/ai)

## Sources

- modem-dev/hunk: Read on November 14, 2026, at commit 0147a84 (https://github.com/modem-dev/hunk/tree/0147a846951627b88f8ddc178e0d23ca58cece76)
- shadcn-ui/ui: Read on November 12, 2026, at commit dd41d19 (https://github.com/shadcn-ui/ui/tree/dd41d19e2f80ff6891951f7ced74c2c9a650b065)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
