Esta página se muestra en inglés. Una traducción al español está en curso.
ConfigsJul 19, 2026·3 min de lectura

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.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Base UI
Comando de instalación directa
npx -y tokrepo@latest install 0a011a28-836f-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con 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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados