Base UI
Headless React components and hooks with complete styling control and accessibility.
UI components and icons npm MIT
Used in agent projects
148
1.2% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#20 of 75
by use in those projects
Downloads
16.6M
npm, last 7 days, @base-ui/react
GitHub stars
11.1K
last push Oct 10, 2026
How Base UI is used
Base UI is a dependency in 148 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.2%), #20 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use Class Variance Authority (93.9%), Tailwind Merge (89.9%), clsx (89.2%).
Often used with Base UI
| Class Variance Authority | 93.9% of Base UI projects · 6.7× more than average |
|---|---|
| Tailwind Merge | 89.9% of Base UI projects · 5.3× more than average |
| clsx | 89.2% of Base UI projects · 5.0× more than average |
| tw-animate-css | 88.5% of Base UI projects · 13.2× more than average |
| Lucide React | 86.5% of Base UI projects · 4.4× more than average |
| shadcn/ui | 79.1% of Base UI projects · 30.6× more than average |
| Tailwind CSS | 96.6% of Base UI projects · 2.8× more than average |
| React | 100.0% of Base UI projects · 2.3× more than average |
By coding agent
| Claude Code | 2.7% of projects set up for it |
|---|---|
| GitHub Copilot | 1.9% of projects set up for it |
| Cursor | 2.1% of projects set up for it |
| OpenAI Codex | 3.1% of projects set up for it |
| Gemini CLI | 2.5% of projects set up for it |
| OpenCode | 2.5% of projects set up for it |
| Devin Desktop | 2.2% of projects set up for it |
Share of public repos configured for each agent that list Base UI as a dependency.
Install
| Package | npm install @base-ui/react |
|---|---|
| Main stacks | Next.js (101), TypeScript / JavaScript (42), PHP (4), Rust (1) |
| Example projects | miantiao-me/bm.md, 5pyj29s7cm-tech/LumiCore, amelioro/ameliorate, Ranork/remnus-app, priyanshpatel18/nori |
Alternatives to Base UI
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Lucide React npm Comprehensive icon library with consistent design for React applications. |
2,519 (19.8%) | 108M | 24.9K | ISC |
| Class Variance Authority npm Type-safe CSS class composition for component variants and styling. |
1,791 (14.1%) | 66.3M | 6,903 | Apache-2.0 |
| Radix UI npm Unstyled, accessible component primitives for building design systems. |
1,519 (12.0%) | 182M | 19.4K | MIT |
| Sonner npm Opinionated toast notification component for React applications. |
1,025 (8.1%) | 49.6M | 13K | MIT |
| React Icons npm Popular icon packs imported as React components with ES6. |
688 (5.4%) | 8.8M | 12.7K | MIT |
| cmdk npm Command menu component library for React applications. |
687 (5.4%) | 42.2M | 13K | MIT |
| React Day Picker npm Flexible and customizable date picker component for React. |
675 (5.3%) | 42.8M | 6,859 | MIT |
| Vaul npm Unstyled, accessible drawer component for React with smooth animations. |
582 (4.6%) | 35M | 8,638 | MIT |