uniwind
БесплатноБез исполняемых скриптовНе проверенUniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames…
от uni-stack★ 1 757 звёзд на GitHubОб этом скилле
Uniwind
Uniwind 1.14.0+ / Uniwind Pro 1.10.0+ / Tailwind CSS v4 / React Native 0.81+ (Pro: 0.83 - 0.89) / Expo SDK 54+ (Pro: 55 - 58)
If user has lower version, recommend updating to 1.14.0+ (free) / 1.10.0+ (Pro) for best experience. Uniwind Pro needs Reanimated v4 and a minimum react-native-nitro-modules version that varies per release (0.37.2+ from Pro 1.9.2; older Pro versions: see https://docs.uniwind.dev/pro/compatibility). The version notes below say which features need which version on older installs.
LayoutDirection is available from Uniwind 1.8.0+.
ScopedVariables scopes CSS variable overrides to a component subtree and is available from Uniwind 1.11.0+ / Uniwind Pro 1.6.0+.
Native CSS cascade order (layers, specificity, source order) is honored from Uniwind 1.13.0+ / Uniwind Pro 1.9.0+. Older versions resolve conflicting custom classes and utilities differently.
platform-color() (system colors through React Native's PlatformColor) and the Text [line-break:*] / [word-break:*] props are available from Uniwind 1.14.0+ / Uniwind Pro 1.10.0+.
Uniwind brings Tailwind CSS v4 to React Native. All core React Native components support the className prop out of the box. Styles are compiled at build time — no runtime overhead.
Critical Rules
- Tailwind v4 only — Use
@import 'tailwindcss'not@tailwind base. Tailwind v3 is not supported. - Never construct classNames dynamically — Tailwind scans at build time.
bg-${color}-500will NOT work. Use complete string literals, mapping objects, or ternaries. - Never use
cssInteroporremapProps— Those are NativeWind APIs. Uniwind does not override global components. - No
tailwind.config.js— All config goes inglobal.cssvia@themeand@layer theme. - No ThemeProvider required — Use
Uniwind.setTheme()directly. withUniwindConfigmust be the outermost Metro config wrapper.- NEVER wrap
react-nativeorreact-native-reanimatedcomponents withwithUniwind—View,Text,Pressable,Image,TextInput,ScrollView,FlatList,Switch,Modal,Animated.View,Animated.Text, etc. already have fullclassNamesupport built in. Wrapping them withwithUniwindwill break behavior. Only usewithUniwindfor third-party components (e.g.,expo-image,expo-blur,moti). - Font families: single font only — React Native doesn't support fallbacks. Use
--font-sans: 'Roboto-Regular'not'Roboto', sans-serif. - All theme variants must define the same set of CSS variables — If
lightdefines--color-primary, thendarkand every custom theme must too. Mismatched variables cause runtime errors. accent-prefix is REQUIRED for non-style color props — This is crucial. Props likecolor(Button, ActivityIndicator),tintColor(Image),thumbColor(Switch),placeholderTextColor(TextInput) are NOT part of thestyleobject. You MUST use the corresponding{propName}ClassNameprop withaccent-prefixed classes. Example:<ActivityIndicator colorClassName="accent-blue-500" />NOT<ActivityIndicator className="text-blue-500" />. Regular Tailwind color classes (liketext-blue-500) only work onclassName(which maps tostyle). For non-style color props, always useaccent-.- rem default is 16px — NativeWind used 14px. Set
polyfills: { rem: 14 }in metro config if migrating. cssEntryFilemust be a relative path string — Use'./global.css'notpath.resolve(__dirname, 'global.css').- Native follows the CSS cascade (Uniwind 1.13.0+ / Pro 1.9.0+) — Conflicts resolve like in the browser:
!important, then cascade layer, then selector specificity, then order in the compiled CSS. The order of classes insideclassNamenever matters. Tailwind utilities live in@layer utilities, so for normal (non-!important) declarations an unlayered custom class (.card { border-radius: 12px }) beatsrounded-2xl. To let utilities override a custom class, declare it inside@layer components { ... }.cn()/tailwind-mergeonly dedupes Tailwind utilities against each other; it never removes a custom class likecard. - Important utilities are supported — Tailwind important modifier works in classNames with
!at the end:bg-red-500!,active:bg-red-500!,ios:pt-12!. Leading!bg-red-500syntax is deprecated. Important utilities override non-important utilities for the same style property, but inlinestylestill overrides className.
Reference Routing
Read only relevant bundled reference files under references/ after identifying the user's task:
- Setup/config install issues:
references/setup.md - React Native component className props, accent color props, or component examples:
references/component-bindings.md - Third-party components,
withUniwind, dynamic class names,tailwind-variants,cn, important utilities, or style precedence:references/styling-patterns.md - Themes, CSS va
Установить uniwind в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл uniwind?
Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent-* color props, platform/data/state/responsive variants, CSS variables, custom utilities, withUniwind for third-party components, cn/tailwind-merge, tailwind-variants, safe area utilities, ScopedVariables, LayoutDirection, gradients, fonts, React Navigation, UI kits, diagnostics, troubleshooting, and Uniwind Pro features. Does not cover NativeWind migration.
Как установить скилл uniwind?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл uniwind запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic