Installation
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
- npm
Usage
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
- npm
Usage
info
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.