Skip to content

Glossary: React Native

Density-independent pixels (dp)

Also written: dp, density-independent pixels

React Native's size unit, written as plain numbers like `padding: 16`. It looks the same size on every phone however sharp its screen.

Where the book teaches it

Related terms

StyleSheet