React UI libraries

Updated Nov 2026

React UI libraries supply prebuilt components such as buttons, menus, dialogs, and date pickers. Each component ships with its keyboard behavior, focus handling, and screen reader labels built in. These libraries build the forms, navigation, and settings screens of web apps and internal tools.

Popularity

Base UI has the most installs, while Ant Design has the most GitHub stars.

LibraryMonthly downloadsStarsLast releaseLicense
Base UI
109.8M
11.4KOct 2026MIT
Radix Primitives
104.2M
19.5KOct 2026MIT
Material UI
53.7M
99.3KOct 2026MIT
Headless UI
38.2M
28.8KApr 2026MIT
React Aria Components
33.2M
16.1KOct 2026Apache-2.0
Ant Design
19.9M
100.2KNov 2026MIT
Mantine
14.3M
31.9KNov 2026MIT
React Spectrum
8.4M
16.1KOct 2026Apache-2.0
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

Base UI is an unstyled React component library from the creators of Radix, Floating UI, and Material UI. Every component ships in the single @base-ui/react package, where tree shaking, the bundler step that drops unused code, keeps only the components an app imports, such as @base-ui/react/button, in the final bundle. Components manage keyboard interaction, focus, and ARIA attributes, the markup that screen readers read. Styles arrive through a className, such as a CSS module in the quickstart. Popups such as Dialog and Popover render in portals, outside the app's own element tree. For that reason the setup guide adds isolation: isolate to the app's root element.

Downloads / mo
109.8M
Stars
11.4K
Last release
1.9.0
License
MIT

Strengths

  • Keyboard and focus handled. Components follow WAI-ARIA keyboard patterns and move focus after each interaction.
  • One tree-shakable package. Install every component at once. The bundle keeps only the imported ones.

Limitations

  • Focus ring needs styling. Base UI moves focus. Add the visible focus style with :focus-visible.
  • Popups need a root style. Add isolation: isolate to the app root so dialogs and popovers stay on top.

Quickstart

From index.tsx
$ pnpm add @base-ui/react
/* index.tsx */
import * as React from 'react';
import { Button } from '@base-ui/react/button';
import styles from './index.module.css';

export default function ExampleButton() {
  return <Button className={styles.Button}>Submit</Button>;
}

Base UI examples

From open-source projects on GitHub

Radix Primitives

Radix Primitives is a set of unstyled React components for patterns such as dialogs, dropdown menus, selects, sliders, and tooltips. One radix-ui package contains every primitive, which also installs on its own as a package such as @radix-ui/react-dialog. Components follow WAI-ARIA patterns and manage focus, keyboard navigation, and ARIA attributes, while the app supplies all styles. The asChild prop passes a primitive's behavior to the app's own element. By default each primitive keeps its own state, though the app can also control it.

Downloads / mo
104.2M
Stars
19.5K
Last release
1.8.1
License
MIT

Strengths

  • Handles focus and keyboard behavior. Delegate focus management, keyboard navigation, and ARIA attributes to the primitives.
  • Reuses existing UI components. Use asChild to add Radix behavior to custom components.

Limitations

  • Requires custom styling. Even a Dialog overlay needs custom CSS to cover the viewport.
  • Form controls have composition gaps. Radix Form cannot compose with its Checkbox or Select primitives.

Quickstart

From index.jsx
$ npm install radix-ui@latest
// index.jsx

import * as React from "react";

import { Popover } from "radix-ui";

const PopoverDemo = () => (
  <Popover.Root>
    <Popover.Trigger>More info</Popover.Trigger>

    <Popover.Portal>
      <Popover.Content>
        Some more info…
        <Popover.Arrow />
      </Popover.Content>
    </Popover.Portal>
  </Popover.Root>
);

export default PopoverDemo;

Radix Primitives examples

From open-source projects on GitHub

Material UI is MUI's React implementation of Google's Material Design, with prebuilt components such as the Button in the quickstart. The install command adds two packages for Emotion, the default styling engine: npm install @mui/material @emotion/react @emotion/styled. By default the theme uses the Roboto font, which the app adds itself. A theme made with createTheme changes colors, typography, and dark mode. MUI X, a separate suite, adds components for advanced use cases.

Downloads / mo
53.7M
Stars
99.3K
Last release
9.5.0
License
MIT

Strengths

  • Dark mode built in. Switch the palette to dark with mode: 'dark' in createTheme().
  • Supports custom design systems. Build a custom design system on top of the prebuilt components.

Limitations

  • Server rendering needs CSS integration. Send component CSS with server-rendered HTML to prevent unstyled content.

Quickstart

From usage
$ npm install @mui/material @emotion/react @emotion/styled
import Button from '@mui/material/Button';

export default function ButtonUsage() {
  return <Button variant="contained">Hello world</Button>;
}

Material UI examples

From open-source projects on GitHub

Headless UI is a set of unstyled, accessible components from Tailwind Labs, built to pair with Tailwind CSS and published in versions for React and Vue. Components such as Button and Dialog manage keyboard behavior and focus. Each one exposes its state as data attributes: a Tailwind class prefixed with data-hover: styles the hover state. A dialog is controlled, meaning the app keeps the open state and closes it in onClose, which runs on Escape or a click outside the panel.

Downloads / mo
38.2M
Stars
28.8K
Last release
2.2.10
License
MIT

Strengths

  • State exposed as data attributes. Style hover, focus, and active states with data-* attributes or Tailwind modifiers.
  • Dialogs handle dismissal. Dialog calls onClose when the user presses Esc or clicks outside the panel.

Limitations

  • The app manages open state. Dialogs are controlled, so keep the open state in the app and pass it in with onClose.

Quickstart

From button
$ npm install @headlessui/react
import { Button } from '@headlessui/react'

function Example() {
  return (
    <Button className="rounded bg-sky-600 px-4 py-2 text-sm text-white data-active:bg-sky-700 data-hover:bg-sky-500">
      Save changes
    </Button>
  )
}

Headless UI examples

From open-source projects on GitHub

React Aria Components

React Aria Components is Adobe's library of unstyled, accessible React components. Components such as Select, ListBox, and Popover treat mouse, touch, and keyboard input the same way and expose states such as data-hovered and data-pressed for styling. The getting started page offers starter examples in plain CSS or Tailwind to copy into a project. React Spectrum, from the same repository, adds Adobe's Spectrum styles.

Downloads / mo
33.2M
Stars
16.1K
Last release
1.22.1
License
Apache-2.0

Strengths

  • Same states on every input. data-hovered and data-pressed behave the same for mouse, touch, and keyboard.
  • Internationalization built in. Components ship translations and localized date and number formatting.

Limitations

  • No default styles. Style each part through its react-aria class name, Tailwind, or CSS-in-JS.

Quickstart

From getting-started.html
$ npm install react-aria-components
import {Button, Label, ListBox, ListBoxItem, Popover, Select, SelectValue} from 'react-aria-components/Select';

<Select>
  <Label>Favorite Animal</Label>
  <Button>
    <SelectValue />
  </Button>
  <Popover>
    <ListBox>
      <ListBoxItem>Cat</ListBoxItem>
      <ListBoxItem>Dog</ListBoxItem>
      <ListBoxItem>Kangaroo</ListBoxItem>
    </ListBox>
  </Popover>
</Select>

React Aria Components examples

From open-source projects on GitHub

Ant Design is a React component library and design language for enterprise web applications, written in TypeScript. The antd package includes a Table with sorting, filtering, and pagination, plus a Form with field validation. Theme customization runs on CSS-in-JS, meaning styles written in JavaScript, with built-in translations of the component text in dozens of languages. The README lists server-side rendering and Electron among the supported environments.

Downloads / mo
19.9M
Stars
100.2K
Last release
6.7.1
License
MIT

Strengths

  • Validates form fields. Form combines data entry, field validation, and component styling.
  • Includes data table controls. Table supports sorting, filtering, and pagination.

Limitations

  • Static dialogs miss surrounding context. Use Modal.useModal to give dialogs access to the surrounding theme.

Quickstart

From use-with-vite
$ npm install antd --save
import React from 'react';

import { Button } from 'antd';

const App = () => (

  <div className="App">

    <Button type="primary">Button</Button>

  </div>

);

export default App;

Ant Design examples

From open-source projects on GitHub

Mantine is a React component library whose core package, @mantine/core, contains more than a hundred components, while a second package, @mantine/hooks, adds more than eighty hooks. Setup wraps the app in MantineProvider, imports @mantine/core/styles.css, and adds PostCSS with postcss-preset-mantine. Separate packages add forms, charts, notifications, a rich text editor, and a command palette. Mantine's styles come from that imported stylesheet, while Material UI installs two Emotion packages as its styling engine.

Downloads / mo
14.3M
Stars
31.9K
Last release
9.8.1
License
MIT

Strengths

  • Manages light and dark themes. Choose light, dark, or system colors through MantineProvider.
  • Offers a separate form toolkit. Add @mantine/form for field state, validation, and submission.

Limitations

  • Components need client boundaries. Server components need a client boundary around Mantine controls.

Quickstart

From button
$ yarn add @mantine/core @mantine/hooks
import { Button } from '@mantine/core';

function Demo() {
  return <Button variant="filled">Button</Button>;
}

Mantine examples

From open-source projects on GitHub

React Spectrum

React Spectrum is Adobe's implementation of Spectrum, its design system, as React components that adapt to the input device and screen size. Every app starts with a Provider that sets the theme, such as defaultTheme, plus the locale. Components include screen reader and keyboard support, plus a large scale that enlarges them for touch screens. The only build requirement is CSS import support, which raw webpack gets through css-loader. React Aria Components comes from the same repository and leaves styling to the app.

Downloads / mo
8.4M
Stars
16.1K
Last release
3.47.7
License
Apache-2.0

Strengths

  • Follows the system color scheme. Components switch between light and dark mode with the operating system setting.
  • Larger targets on touch. The large scale enlarges components so touch users get bigger hit targets.

Limitations

  • Needs a root Provider. Wrap the app in Provider with a theme before any component renders.
  • Raw webpack needs css-loader. Configure css-loader when bundling with webpack directly.

Quickstart

From getting-started.html
$ yarn add @adobe/react-spectrum
import {Button, defaultTheme, Provider} from '@adobe/react-spectrum';

function App() {
  return (
    (
      <Provider theme={defaultTheme}>
        <Button
          variant="accent"
          onPress={() => alert('Hey there!')}
        >
          Hello React Spectrum!
        </Button>
      </Provider>
    )
  );
}

React Spectrum examples

From open-source projects on GitHub
const EmptyState: FC<EmptyStateProps> = ({ height, text }) => {
  return (
    <Flex direction="column" justifyContent="center" alignItems="center" height={height}>
      <GraphBarVertical size="XXL" UNSAFE_className="EmptyState-icon" />
      {Boolean(text) && <Text UNSAFE_className="EmptyState-text">{text}</Text>}
    </Flex>
  );
};

FAQ

Use Material UI for styled components that work in production out of the box. For a custom design, pick Base UI or Radix Primitives, or Headless UI with Tailwind CSS. Choose Ant Design for enterprise apps built around forms and data tables.

Either works for an unstyled design system. Both handle focus, keyboard navigation, and ARIA attributes, and both leave all styling to the app. Base UI swaps the rendered element with a render prop and also ships hooks, while Radix does the same job with asChild.

Pick Material UI for Google's Material Design look. Pick Ant Design for enterprise apps: its Form validates fields, and its Table sorts, filters, and paginates data. Both ship default styles and a table component.

Pick Material UI to follow Material Design. Mantine suits apps that need light, dark, and system color schemes through MantineProvider and a separate form package. Mantine components can't be server components, so wrap them in a client boundary.

Yes. Material UI has light and dark palette modes. Add mode: 'dark' to createTheme(), or use the colorSchemes node to follow the system setting.

For coding agents

Found your UI library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official