base-ui-guide
Installation
SKILL.md
Base UI Guide
Base UI (@base-ui/react) is an unstyled React component library for building accessible user interfaces. From the creators of Radix, Material UI, and Floating UI. Components are headless, composable, and WAI-ARIA compliant. Supports React 17+ and all modern browsers (Baseline Widely Available). Tree-shakable single package.
Do NOT use this guide for Radix UI (radix-ui), Material UI (MUI @mui/material), or Shadcn/ui — those are separate libraries with different APIs.
Quick Start
npm i @base-ui/react
Setup
- Portals - Add stacking context isolation to prevent z-index conflicts:
.root { isolation: isolate; }