Cette page est affichée en anglais. Une traduction française est en cours.
ConfigsJul 19, 2026·3 min de lecture

Base UI — Unstyled Accessible React Components by MUI

An open-source library of unstyled, accessible React UI components from the creators of Material UI, designed for building custom design systems without visual constraints.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Base UI
Commande d'installation directe
npx -y tokrepo@latest install 0a011a28-836f-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

Base UI provides headless, accessible React components that handle behavior and accessibility while leaving styling entirely to the developer. Built by the team behind Material UI, Radix, and Floating UI, it combines accessibility expertise with a zero-opinion approach to visuals.

What Base UI Does

  • Delivers WAI-ARIA compliant components with keyboard navigation built in
  • Provides render props and hooks for complete control over DOM structure
  • Handles complex interaction patterns like focus trapping, dismissal, and portals
  • Ships with zero default styles so components match any design system
  • Supports both controlled and uncontrolled usage patterns

Architecture Overview

Each component is split into a root container and sub-components (slots) that manage distinct concerns. State is handled internally with optional controlled-mode overrides. The library uses a plugin system for floating elements positioning and integrates with any CSS methodology including Tailwind, CSS Modules, or styled-components.

Setup & Configuration

  • Install the scoped package from npm
  • Import individual components to keep bundle size minimal
  • Style with your preferred CSS approach using data attributes for states
  • Configure animation classes via transition props on applicable components
  • Combine with Tailwind CSS utility classes for rapid prototyping

Key Features

  • Components from the teams behind Material UI, Radix UI, and Floating UI
  • Data attributes like data-pressed and data-open for CSS state targeting
  • Built-in support for CSS transitions and animations on mount/unmount
  • Fully composable with render props for custom element rendering
  • Tree-shakeable package with per-component imports

Comparison with Similar Tools

  • Radix Primitives — similar headless approach; Base UI merges learnings from both Radix and MUI teams
  • Headless UI — by Tailwind Labs, fewer components; Base UI offers broader coverage
  • Ark UI — multi-framework (React, Vue, Solid); Base UI focuses exclusively on React
  • React Aria — Adobe's hooks-based approach; Base UI provides pre-built component structure
  • shadcn/ui — pre-styled with Tailwind; Base UI is truly unstyled as a lower-level primitive

FAQ

Q: How does Base UI relate to Material UI? A: Base UI is the unstyled foundation. Material UI adds Material Design styling on top of similar primitives.

Q: Can I use Base UI with Next.js Server Components? A: Interactive components require client rendering, but static wrappers work as server components.

Q: Is Base UI a replacement for Radix Primitives? A: Base UI was built by combining the Radix and MUI teams, so it represents an evolution of both libraries.

Q: What browsers are supported? A: Base UI supports all modern browsers and the last two major versions of Chrome, Firefox, Safari, and Edge.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires