react-native-ruler

A devtool for measuring pixel dimensions on your React Native screens

Usage no npm install needed!

<script type="module">
  import reactNativeRuler from 'https://cdn.skypack.dev/react-native-ruler';
</script>

README

react-native-ruler

npm version

📏 A devtool for measuring pixel dimensions on your React Native screens

iOS Example

Getting Started

Installing

npm install react-native-ruler

Usage

// first, import the component
import { RNRuler } from 'react-native-ruler';

// then drop it on any screen in your app (or in the root)
<RNRuler />;
  • Tap the bottom right corner of the ruler to swap between axis

License

react-native-ruler is MIT licensed