React Spectrum screenshot

React Spectrum

Author Avatar Theme by Adobe
Updated: 23 May 2025
13933 Stars

A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.

Categories

Overview:

React Spectrum Libraries is a collection of libraries and tools that help developers build adaptive, accessible, and robust user experiences. It includes React Spectrum, a React implementation of Adobe’s design system, as well as React Aria and React Stately, which provide accessible UI primitives and cross-platform state management for design systems. The libraries are designed to be customizable, with support for custom themes and dark mode.

Features:

  • Accessible: All components adhere to WAI-ARIA Authoring Practices for accessibility, with support for screen readers and keyboard navigation.
  • Adaptive: Components work seamlessly with mouse, touch, and keyboard interactions and are built with responsive design principles for optimal performance on any device.
  • International: The libraries include support for over 30 languages, right-to-left languages, and date and number formatting.
  • Customizable: React Spectrum components support custom themes and automatically adapt for dark mode. Developers can also build their own components using the React Aria and React Stately hooks for customized behavior, accessibility, and interactions.

Installation:

To install React Spectrum Libraries, follow these steps:

  1. If you’re integrating with Adobe software or need a complete component library, use the following command:
npm install @adobe/react-spectrum
  1. If you’re building a component library from scratch with your own styling, start with React Aria using this command:
npm install @react-aria/utils
  1. If you’re using React Aria or require cross-platform state management, also install React Stately with this command:
npm install @react-stately/collections

For more detailed architecture information, please refer to the documentation.

Summary:

React Spectrum Libraries is a comprehensive set of libraries and tools for building adaptive and accessible user experiences. It includes React Spectrum, React Aria, and React Stately, providing developers with flexible options for implementing Adobe’s design system, UI primitives, and cross-platform state management. With support for customization and internationalization, the libraries aim to improve the development process and enhance the quality of web applications. The project also encourages contributions from the community to further advance the capabilities and features of React Spectrum.