Skip to main content
Version: v4

Whitespace

Usageโ€‹

Please refer to the

documentation on the Tailwind CSS website

Compatibilityโ€‹

ClassSupport
whitespace-normal๐ŸŒ Web only
whitespace-nowrap๐ŸŒ Web only
whitespace-pre๐ŸŒ Web only
whitespace-pre-line๐ŸŒ Web only
whitespace-pre-wrap๐ŸŒ Web only
whitespace-break-spaces๐ŸŒ 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