Last updated on March 19, 2026

Gap

Edit

Usage

Please refer to the documentation on the Tailwind CSS website

CAUTION

gap requires React Native 0.71

Compatibility

ClassSupport
gap-{n}
✅ Supported
gap-[n]
✅ Supported
gap-x-{n}
✅ Supported
gap-x-[n]
✅ Supported
gap-y-{n}
✅ Supported
gap-y-[n]
✅ Supported
Legend

Class

-{n} Supports values from theme

-[n] Supports arbitrary values

Icon

✅ Supported

✔️ Partial support on native

🧪 Experimental support on native

📱 Native only

🌐 Web only

On this page