Skip to main content
Version: v4

Line Height

Usageโ€‹

Please refer to the

documentation on the Tailwind CSS website

Compatibilityโ€‹

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

ClassSupport
leading-{n}โœ… Full Support
leading-[n]โœ… Full Support
leading-none๐ŸŒ Web only
leading-tight๐ŸŒ Web only
leading-snug๐ŸŒ Web only
leading-normal๐ŸŒ Web only
leading-relaxed๐ŸŒ Web only
leading-loose๐ŸŒ Web only
Legend

Classโ€‹

-{n} Supports values from theme

-[n] Supports arbitrary values

Iconโ€‹

โœ… Full support

โœ”๏ธ Partial support on native

๐Ÿงช Experimental support on native

๐Ÿ“ฑ Native only

๐ŸŒ Web only