Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Bits UI

Headless UI component library for Svelte with unstyled, composable components.

UI components and icons npm MIT

Used in agent projects
27
0.2% of 12,697 public repos built with AI coding agents
Rank in ui components and icons
#56 of 75
by use in those projects
Downloads
1.2M
npm, last 7 days, bits-ui
GitHub stars
3,604
last push Oct 3, 2026

How Bits UI is used

Bits UI is a dependency in 27 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #56 of 75 in ui components and icons. The most used alternative there is Lucide React. Projects that use it most often also use Svelte (100.0%), svelte-check (100.0%), Vite (100.0%).

Often used with Bits UI

Svelte100.0% of Bits UI projects · 124.5× more than average
svelte-check100.0% of Bits UI projects · 149.4× more than average
Vite100.0% of Bits UI projects · 4.4× more than average
Prettier85.2% of Bits UI projects · 4.9× more than average
Tailwind Merge85.2% of Bits UI projects · 5.1× more than average
clsx81.5% of Bits UI projects · 4.6× more than average
tailwind-variants81.5% of Bits UI projects · 195.2× more than average
Lucide Svelte77.8% of Bits UI projects · 365.8× more than average

By coding agent

Claude Code0.4% of projects set up for it
GitHub Copilot0.4% of projects set up for it
Cursor0.4% of projects set up for it

Share of public repos configured for each agent that list Bits UI as a dependency.

Install

Packagenpm install bits-ui
Main stacksTypeScript / JavaScript (26), Rust (1)
Example projectsn00ki/sveltekit-omakase, stickerdaniel/notion-avatar-svelte, wesselgrift/sveltekit-spa, thorstenalpers/CleanMyPosts, NetSepio/ChromiumExtension

Alternatives to Bits UI

All ui components and icons

Tool Used in agent projectsDownloads / wk GitHub starsLicense
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
Is Bits UI right for your project? Ask AgentGid →