React
@base-ui/react
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
Component Libraries
react
react-component
mui
unstyled
base-ui
a11y
@base-ui/react
Component Libraries
javascript
npm
Stars
11k
Weekly
11M
Open issues
432
Bundle
~15 kB
Installation
npm install @base-ui/reactCode example
import { Button } from "@base-ui/react";
export function Example() {
return (
<div className="flex gap-2">
<Button>Primary</Button>
<Button variant="outline">Secondary</Button>
</div>
);
}Pros & cons
Pros
- Actively maintained by MUI Team
- 11M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 432 open issues on GitHub