HeroUI is a modern React UI component library designed for React 19 and Next.js App Router. It combines accessibility, styling flexibility, and AI-ready tooling.
Core Architecture
- Accessibility-first: Built on React Aria primitives, ensuring robust screen reader support, keyboard navigation, and ARIA compliance out of the box.
- Tailwind CSS v4 Native: Uses CSS-based theming with
@theme and design tokens, avoiding the runtime overhead associated with CSS-in-JS. - Compound Component API: Employs a composable pattern (e.g.,
Card.Header, Card.Content, Card.Footer) to provide full control over markup and layout. - Server Component Friendly: Designed with React Server Components (RSC) in mind, featuring minimal and clearly documented client boundaries.
AI Tooling Support
HeroUI provides specialized resources to help AI coding assistants work with its APIs accurately:
- MCP server
- llms.txt
- Agent skills
When to use HeroUI
Ideal for new projects using Next.js, React 19, and Tailwind CSS v4 that require a modern, accessible component library with first-class AI tooling support.