Overview
Uniwind supports the vast majority of Tailwind CSS utility classes out of the box. This page documents special cases, platform-specific classes, and differences between the free and pro versions.Most Tailwind classes just work! If a class name isn’t listed below as unsupported or with special behavior, you can assume Uniwind fully supports it.
Standard Tailwind Classes
All standard Tailwind utility classes are supported, including:- Layout:
container,flex,block,hidden, etc. - Spacing:
p-*,m-*,space-*,gap-* - Sizing:
w-*,h-*,min-w-*,max-w-*, etc. - Typography:
text-*,font-*,leading-*,tracking-*, etc. - Colors:
bg-*,text-*,border-*,shadow-*, etc. - Borders:
border-*,rounded-*,ring-* - Effects:
shadow-*,opacity-* - Filters:
blur-*,drop-shadow-*,grayscale,saturate-*, etc. (see platform notes) - Flexbox:
justify-*,items-*,content-*, etc. - Positioning:
absolute,relative,top-*,left-*, etc. - Transforms:
translate-*,rotate-*,scale-*,skew-* - State selectors:
active:,disabled:,focus:(with Tailwind 4.3.3+, which emits flattened variant selectors, these need Uniwind 1.12.0+ or Uniwind Pro 1.7.0+)
Platform-Specific Variants
Uniwind extends Tailwind with platform-specific variants for React Native:Direction Variants (rtl: / ltr:)
Style based on the layout direction:
LayoutDirection (available in Uniwind 1.9.0+, Pro 1.4.0+):
Logical Text Alignment
Available in Uniwind 1.12.1+ and Uniwind Pro 1.8.0+text-start and text-end pass through as textAlign: 'start' and textAlign: 'end', so text aligns with the reading direction without separate ltr: / rtl: classes:
React Native resolves
end from 0.87. On older versions, both values fall back to natural alignment.Variable Fonts
Available in Uniwind 1.12.1+ and Uniwind Pro 1.8.0+ Tailwind has no built-infont-variation-settings utility, so use an arbitrary property. Quote the axis tag and use _ for spaces:
fontVariationSettings style and keeps the axis tags quoted, which React Native requires on both iOS and Android.
React Native applies
fontVariationSettings from 0.88. The font must be a variable font that exposes the axes you set.Text Decoration Style and Color
decoration-solid, decoration-double, decoration-dotted, decoration-dashed and decoration-wavy map to textDecorationStyle, and decoration-<color> maps to textDecorationColor. Combine them with underline or line-through:
React Native draws every style and the decoration color on both platforms from 0.87. Before 0.87, Android draws a solid line in the text color for every style, and iOS draws
wavy as a solid line.Line Break and Word Break
Available in Uniwind 1.14.0+ and Uniwind Pro 1.10.0+ Tailwind has noline-break utility, so use arbitrary properties. On Text, [line-break:*] and [word-break:*] become React Native’s lineBreak and wordBreak props:
Other values, such as
break-all or [line-break:anywhere], are left out because React Native doesn’t take them. A lineBreak or wordBreak prop passed to Text wins over the class.
React Native applies
lineBreak and wordBreak from 0.89, on Android 13 (API 33) and newer.[experimental-text-width-mode:*] maps to React Native’s experimental_textWidthMode style, for example [experimental-text-width-mode:longest-line].
Skew
skew-x-* and skew-y-* map to skewX and skewY transforms.
Android applies skew from React Native 0.87 on Android 10 (API 29) and newer. Older versions draw the view without the skew, or rotated instead.
Blend Modes
mix-blend-* maps to mixBlendMode:
Platform Colors
platform-color() uses the system colors of each platform, like React Native’s PlatformColor. A name starting with ? or @ is an Android color resource or theme attribute, any other name is an iOS semantic color, and the last argument is the fallback:
_ for an underscore in a class name, as in bg-[platform-color(@android:color/holo_blue_light,#33b5e5)].
Text Line Breaking
Arbitrary properties for CSSline-break and word-break: auto-phrase become React Native’s lineBreak and wordBreak Text props:
line-break takes auto, loose, normal and strict, and word-break takes normal and auto-phrase; other values, such as the ones break-all and break-keep set, are ignored. experimental-text-width-mode becomes the experimental_textWidthMode style.
React Native applies
lineBreak and wordBreak from 0.89 on Android 13 and newer only, and auto-phrase only in a locale with phrase breaking, such as Japanese. experimental_textWidthMode needs React Native 0.89 on iOS and Android, and changes only text that is not stretched to its container.Viewport Units
Arbitrary values withvw and vh resolve against the screen size:
The accent-* Prefix
React Native components often have color props that are separate from the style prop (like color, tintColor, underlayColor). These props expect a plain color string, not a style object. Uniwind uses the accent-* prefix to handle these cases.
Why Use accent-*?
When you use a *ClassName prop that maps to a color prop (e.g., colorClassName, tintColorClassName), you must use the accent-* prefix to indicate that you want to extract a color value, not a style object.
For style props: Use regular Tailwind classes directly (e.g.,
className="bg-blue-500").For non-style color props: Use the accent- prefix (e.g., colorClassName="accent-blue-500").How It Works
Under the hood, Uniwind resolvesaccent-* classes to the accentColor style property, then extracts the raw color value and passes it as a string to the native prop.
Common Color Props Requiring accent-*
Selector Support
accent-* classes support all the same selectors as regular Tailwind classes, including theme variants, platform variants, and state selectors:
Safe Area Classes
Safe area utilities are fully supported in Uniwind:- Free Version
- Pro Version
Group Variants
- Free Version
- Pro Version
Not supported.
group-* classes are parsed but have no runtime effect.Work in Progress
The following classes are currently being worked on:Data Selectors
Data selectors are supported. Use
data-[prop=value]:... to style based on component props. See the full guide in Data Selectors.Unsupported Classes
Some Tailwind classes are not applicable to React Native and will be ignored:- Pseudo-classes:
hover:*,visited:*(useactive:andfocus:state selectors instead) - Pseudo-elements:
before:*,after:*,placeholder:* - Media queries:
print:*,screen:* - Float & Clear:
float-*,clear-* - Break:
break-before-*,break-after-*,break-inside-* - Columns:
columns-*,break-* - Aspect Ratio: Some variants may have limited support
- Backdrop filters:
backdrop-*(React Native has nobackdropFilterequivalent)
Regular filters (
blur-*, drop-shadow-*, grayscale, saturate-*, hue-rotate-* and friends) are supported on native, but blur and drop-shadow need Android 12+ and iOS requires a React Native feature flag. See how to enable filters.Need More Information?
This page is continuously updated as we expand Uniwind’s capabilities.Request Documentation Updates
Help us improve this documentation by reporting missing or incorrect information.