React Native Aria is incrementally adoptable. Each component is published as a separate package, so you can try it out in a single component and gradually add more over time. All of these packages are published under the @react-native-aria scope on npm.

Installing individual package

yarn add @react-native-aria/checkbox


import { useCheckbox } from "@react-native-aria/checkbox";

In addition to individual packages, we also offer a mono-package containing all of the React Native Aria hooks in a single package.

Installing mono package

yarn add react-native-aria


import { useCheckbox } from "react-native-aria";

In each package, we have platform specific entry points. For e.g. index.web.ts and index.ts. This ensures that code for web doesn't get shipped on iOS/Android bundles and vice versa.

Last updated on by Nishan