Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
React Native Sensors | 827 | 38 | 12 | a month ago | 75 | February 04, 2022 | 34 | mit | Objective-C | |
A developer friendly approach for sensors in React Native | ||||||||||
React Parallax Tilt | 731 | 2 | 8 | 2 days ago | 220 | July 15, 2022 | mit | TypeScript | ||
👀 Easily apply tilt hover effect on React components - lightweight/zero dependencies (3kB) | ||||||||||
React Native Motion Manager | 232 | 18 | 3 years ago | 7 | September 27, 2017 | 17 | Objective-C | |||
CMMotionManager wrapper for react-native | ||||||||||
React Native Sensor Manager | 200 | 30 | 4 years ago | 11 | September 23, 2016 | 24 | Java | |||
Native sensors access for react-native | ||||||||||
React Native Iridescent | 18 | 1 | 5 years ago | 4 | December 30, 2017 | 1 | mit | JavaScript | ||
A react-native component to next level your UI with gyroscope based iridescence. | ||||||||||
Diceroll | 8 | 3 years ago | 3 | wtfpl | TypeScript | |||||
An interactive dice roller targeting smartphones with the Web Sensor API. | ||||||||||
React Universal Tilt | 2 | 2 years ago | 3 | mit | TypeScript | |||||
🎆 universal-tilt.js implementation for React component | ||||||||||
React Device Orientation Hook | 2 | a year ago | 3 | mit | TypeScript | |||||
React Custom Hook using Device Orientation Web API |
Device Orientation Event works only in HTTPS for security reasons.
npm i react-device-orientation-hook
import useDeviceOrientation from 'react-device-orientation-hook;
function Component() {
const { transformStyle, resetPivotOrientation } = useDeviceOrientation();
return (
<>
<div style={transformStyle} onClick={resetPivotOrientation} >
Hello World!
</div>
<p>Touch text and Revise orientation</p>
</>
);
}
npm run test
npm run build
To run a live-reload Storybook server on your local machine:
npm run storybook