Quick start

Get started with Base UI, a library of headless ("unstyled") React UI components.

If you're using Next.js 13.4 or later, check out the Next.js App Router guide.

Installation

@base_ui/react is completely standalone – run one of the following commands to add Base UI to your React project:

npm install @base_ui/react

Peer dependencies

Please note that react and react-dom are peer dependencies, meaning you should ensure they are installed before installing Base UI.

"peerDependencies": {
  "react": "^17.0.0 || ^18.0.0",
  "react-dom": "^17.0.0 || ^18.0.0"
},

Contents