BASE

React Aria

React Aria

UI library · Free

A collection of accessible React primitives and hooks, managing focus, keyboard interaction, and states for components with their own visual style.

Also known as: adobe/react-spectrum

Resource illustration: React Aria

Open resource ↗

What you can use for free

React Aria code is available free of charge for local and commercial projects, subject to its license.

Paid features and costs

This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.

Access and limitations

React Aria code is available free of charge for local and commercial projects, subject to its license. This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.

Use cases

  • UI components and behavior
  • An app using the required tech stack and its own design
  • Implement keyboard controls and focus in a React component
  • Build components with custom styling on accessible primitives

Example workflow

A possible workflow; this is not a report of hands-on testing.

UI components and behavior with React Aria.

Before you start

  • A working React; TypeScript project and a specific use case: UI components and behavior.
  • A design, interface states, or dataset; target screens and accessibility requirements.

Steps

  1. Check the project's stack and version against the current React Aria documentation; add the package or the required source component.
  2. Implement the selected workflow with the supplied data, adapting styles and states to the project.
  3. Check the result in the target environment, remove sample data, and retain the notices required by the license.

Check your result

  • The example works in the chosen tech stack, including target dimensions and input errors.
  • Dependency size, keyboard behavior, and reduced motion suit the task; license terms are met.

Choosing React Aria

UI components and behavior

Choose this when

  • UI components and behavior
  • An app using the required tech stack and its own design
  • Implement keyboard controls and focus in a React component

Consider alternatives when

  • When choosing for this topic, compare React Aria with Ark UI. A candidate to compare under the topic: UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
  • When choosing for this topic, compare React Aria with Headless UI. A candidate to compare under the topic: UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Requirements

  • Choose ready-made React Aria Components or hooks for custom DOM; style focused, selected, and pressed states.

Things to consider

  • Costs and limits of free use: This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.
  • Terms of use: Apache-2.0: permits modification and commercial use; retain the license, applicable NOTICE files, and information about changes.
  • The library does not define a visual theme: custom styles and correct element labels require application work.

Frequently asked questions

What can you use for free in React Aria?

React Aria code is available free of charge for local and commercial projects, subject to its license.

What additional costs might arise with React Aria?

This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.

What terms of use matter for React Aria?

Apache-2.0: permits modification and commercial use; retain the license, applicable NOTICE files, and information about changes.

How do you get started with React Aria?

Check the project's stack and version against the current React Aria documentation; add the package or the required source component. Implement the selected workflow with the supplied data, adapting styles and states to the project. Check the result in the target environment, remove sample data, and retain the notices required by the license.

When should I choose React Aria Components, and when should I use hooks?

Components provide ready-made composition of accessible behavior without imposed styling; states are exposed through data attributes, render props, and slots. Hooks let you build your own DOM structure and behavior. One possible hooks use case is a component whose markup does not fit the ready-made composition.

Related tasks and approaches

  • Ark UI

    A candidate to compare under the topic: UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

  • Headless UI

    A candidate to compare under the topic: UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

  • Radix UI Primitives

    A candidate to compare under the topic: UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

License

Apache-2.0: permits modification and commercial use; retain the license, applicable NOTICE files, and information about changes.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • React
  • TypeScript
  • components

Sources

Other resources