ui vs query

ui and query share 3 technologies: React, Next.js, and TanStack. Both are written in TypeScript.

Read it as markdown

What they share and what sets them apart

shadcn-ui

ui

Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.

TypeScript127.3kRead on November 4, 2026, at commit 8a35366What is ui built with?

Only in ui

In common

TanStack

query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

TypeScript50.5kRead on November 5, 2026, at commit 284abacWhat is query built with?

Only in query

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ui636,496 lines written3,892 code files
query253,972 lines written1,570 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ui3% of its commits signed by AIWith Claude Code, Cursor, GitHub Copilot, Codex, and Devin
query0.5% of its commits signed by AIWith Claude Code, CodeRabbit, Codex, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
uiLast push November 4, 20262,298 commits127,326 stars
queryLast push November 5, 20265,928 commits50,526 stars
TestsThe files that test the code, and the share of code files a test imports.
ui415 test files3.8% of its code files have a test that imports them
query379 test files10.4% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ui or query?
ui, with 636,496 lines written; query has 253,972.

The proof: shadcn-ui/ui's code at commit 8a35366

Which has more GitHub stars, ui or query?
ui, with 127,326 stars; query has 50,526.

The proof: shadcn-ui/ui on GitHub

Which has more tests, ui or query?
ui, with 415 test files; query has 379.

The proof: shadcn-ui/ui's code at commit 8a35366

Which was updated more recently, ui or query?
query: its last push was on November 5, 2026, and ui's on November 4, 2026.

The proof: TanStack/query's commits on GitHub

Which has more commits signed by AI, ui or query?
ui: an AI signed 3% of its commits, with Claude Code, Cursor, GitHub Copilot, Codex, and Devin; in query, 0.5%.

The proof: the commits each tool signed in shadcn-ui/ui

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →