0.2.1 • Published 3 years ago

react-gui v0.2.1

Weekly downloads
26
License
MIT
Repository
github
Last release
3 years ago

react-gui

npm version

A framework for creating accessible, interactive, responsive apps with React.

React GUI uses modern React features to provide a consistent set of UX primitives for working with views, events, gestures, and other behaviors. The built-in Hooks allow for easy composition of behaviors and support the implementation of the WAI-ARIA Authoring Practices.

Requirements

  • node@>=12.15: Import paths documented for this package rely on Node.js package entry points. Make sure your bundler also supports this Node API (e.g., webpack@>=5).

  • react-dom@experimental: Works best with React DOM's createRoot and createBlockingRoot APIs, which are curently available only in the experimental builds.

  • Browsers: Chrome, Safari 11+, Edge, Firefox, Opera, IE 11.

Installation

npm install react-gui

API

Components

The foundational components are adapted from those used in React Native today. These components can adopt behaviors by linking refs to the event and interaction hooks.

APIs

Interactions

High-level interactions that simplify working with accessible behaviors across devices and platforms. These hooks (and the underlying event hooks) make it easy to work with pointer gestures, keyboard interactions, and layout changes to adjust a component's render tree and styles. The interaction hooks cause a component to update when their return value changes (if this is not desired, use the event hooks).

Other hooks

Imperative methods

Methods for working imperatively with host elements.

Unstable DOM APIs

These unstable APIs are the DOM-specific abstractions used to create the built-in, platform-agnostic APIs.

Other

CONTRIBUTING

0.0.0-c60046238

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.0.0-12a5867fd

3 years ago

0.1.0

3 years ago

0.0.0-67d9aeef5

3 years ago

0.1.1

3 years ago

0.0.0-de24df473

3 years ago

0.0.0-660062ed8

3 years ago

0.0.0-1080b62

4 years ago

0.0.0-a234274

4 years ago

0.0.0-b64e6f6

4 years ago

0.0.0-c7f5055

4 years ago

0.0.0-66b56b5

4 years ago

0.0.0-2e39cbb

4 years ago

0.0.0-91758dd

4 years ago

0.0.0-fde89cb

4 years ago

0.0.0-5e96bfb

4 years ago

0.0.0-ac0a216

4 years ago

0.0.0-209c42b

4 years ago

0.0.0-d319c53

4 years ago

0.0.0-65ef3ba

4 years ago

0.0.1

8 years ago