Skip to main content

Line Height

Usage

Please refer to the documentation on the Tailwind CSS website

Example

Compatibility

React Native does not support the relative line height utilities due to lack of support for em units.

ClassNative (StyleSheet)Web (CSS)
leading-{n}
leading-[n]
leading-none
leading-tight
leading-snug
leading-normal
leading-relaxed
leading-loose
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Full support

✔️ Partial support

❌ Not supported