Menu

Getting started

Introduction

centerUI is a set of accessible React components built on react-aria-components and styled with Tailwind CSS v4.

Principles

A small number of decisions shape every component in the library.

  • Accessible by default

    Every interactive component is built on react-aria-components, so keyboard navigation, focus management and ARIA come from a battle-tested foundation.

  • Themed with tokens

    Colors are semantic roles such as bg-primary and text-muted-fg. Retheme the whole library by editing one block of CSS variables.

  • Typed variants

    Variants are declared with tailwind-variants, so props like variant and size are fully typed and conflicting classes are merged for you.

Where to go next

  • Theming — the design tokens and how to change them.
  • Button — the first component, with every variant and state.