Base UI Documentation

repository·master·Indexed 27 days ago

https://github.com/mui/base-ui

An unstyled UI component library for React created by the teams behind Radix, Floating UI, and Material UI. It provides accessible, unstyled components such as Accordion, Menu, Switch, and Checkbox, allowing developers complete control over CSS and accessibility features. Includes @base-ui/react and @base-ui/utils.

Tokens
247.8K
Snippets
320
Records
1K
Agent score
93%

What's inside Base UI

  1. Overview of Base UI features

    master

    Base UI is an unstyled, headless React component library designed for building accessible user interfaces. Key characteristics include:

    • Headless: Components are unstyled and do not bundle CSS. They are compatible with any styling engine, including Tailwind, CSS Modules, plain CSS, or CSS-in-JS.
    • Accessible: Components adhere to WAI-ARIA design patterns and are tested across various platforms, devices, and screen readers.
    • Composable: Component APIs are fully open, providing direct access to nodes and allowing you to add, remove, or wrap parts of the component easily.
  2. Explore Base UI for React

    master

    Base UI provides a collection of unstyled, accessible components and utilities for React applications. The documentation is organized into four main areas:

    • Overview: Quick start guides, accessibility standards, and release information.
    • Handbook: Guidance on styling, animation, composition, customization, forms, and TypeScript integration.
    • Components: A comprehensive library of unstyled components including Accordion, Autocomplete, Button, Dialog, Menu, Select, Tabs, and more.
    • Utils: Core utilities such as mergeProps, useRender, and various Providers (CSP, Direction).
  3. Combobox Component Overview

    master

    The Combobox is an input combined with a list of predefined items for selection. It supports various modes including single/multiple selection, async search, grouping, and virtualization. It is highly customizable through a modular component architecture.

    Key Features

    • Selection Modes: Single select, multiple select (using Chips), and creatable items.
    • Search: Built-in filtering and support for asynchronous data fetching.
    • Layout: Highly flexible anatomy including Popups, Portals, Backdrops, and Positioners.
    • Accessibility: Designed to be an accessible, filterable select/typeahead component.
  4. Explore styled libraries built with Base UI

    master

    Several open-source styled libraries are built using Base UI as a foundation. Notable examples include:

    • Kumo: Cloudflare's component library.
    • coss ui: A modern UI library built by the creators of cal.com.
    • Fragments: A design system platform.
    • 9ui: Copy-paste components.
    • Prototyper UI: Components designed for agentic composition.
    • Lumi UI: Composable React components.
    • Olyx UI: Components styled with native CSS and HCT color system.
    • ReUI: A collection of components and templates built on shadcn/ui.
    • Fig UI: Figma UI3 style components for Figma plugins.
    • Selia: Components designed for visual cohesion.
  5. Get started with Base UI

    master
    Base UI is a library of unstyled React components designed to give you complete control over your application's CSS and accessibility features. For full API references, component guides, and usage examples, visit the official documentation website.