/headlessui-react-native

headlessui for React Native

Primary LanguageTypeScriptMIT LicenseMIT

Headlessui React Native

This is an unstyled, accessible headless UI library for React Native. If you have nativewind installed, you can also use tailwind.

Total Downloads Latest Release

Installation

npm install headlessui-react-native

Documentation

Visit following website to see the full API documentation https://headlessui-react-native.vercel.app

Goals

The goal of this project is to provide React Native developers with a seamless experience in using certain mobile-friendly components from headless UI packages, without the cognitive stress of significant alterations. Thus, most of the input, output, and concepts of headless UI components can be utilized without major adjustments.

Non-Goals

It's important to note that this project does not aim to support every feature of Headless UI. For instance, regarding the "as" property, it can generally be used to change to other React Native components. However, components like Modals, which have predefined roles and encapsulate the entire modal, cannot be changed using the as property.

This revision keeps the original intent while ensuring clarity and coherence in English.

Supporting Features (🚧 => working on..)