Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsJul 19, 2026·3 min de lecture

React Native Reusables — shadcn/ui Components for React Native

A port of shadcn/ui's copy-paste component philosophy to React Native, providing accessible, beautifully crafted mobile UI components powered by NativeWind.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
React Native Reusables
Commande d'installation directe
npx -y tokrepo@latest install 19d53b1b-836f-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

React Native Reusables brings the shadcn/ui approach to mobile development. Instead of installing an opaque package, you copy accessible component source code directly into your project, giving you full ownership and customization control.

What React Native Reusables Does

  • Provides accessible React Native components modeled after shadcn/ui patterns
  • Uses NativeWind (Tailwind CSS for React Native) for consistent styling
  • Includes a CLI to scaffold and add individual components to your project
  • Supports both iOS and Android with platform-appropriate behavior
  • Works with Expo and bare React Native projects

Architecture Overview

Components are built on React Native primitives with accessibility props baked in. Styling uses NativeWind class names that compile to React Native StyleSheet objects at build time. The CLI copies component source files into your project so you can modify them freely without depending on upstream updates.

Setup & Configuration

  • Run the init command to set up NativeWind and base utilities
  • Add components individually using the CLI add command
  • Customize the theme by editing the shared cn() utility and color tokens
  • Configure dark mode support through NativeWind's dark: prefix
  • Integrate with React Navigation or Expo Router for navigation-aware components

Key Features

  • Direct source ownership with no hidden dependency abstractions
  • Full accessibility support with screen reader labels and focus management
  • Dark mode built into every component via NativeWind classes
  • Consistent API patterns across all components for predictable usage
  • Expo and bare React Native compatibility

Comparison with Similar Tools

  • shadcn/ui — web-only using Radix; React Native Reusables adapts the pattern for mobile
  • Tamagui — cross-platform UI with its own compiler; Reusables uses NativeWind/Tailwind
  • Gluestack UI — full component library with theming; Reusables gives you source ownership
  • React Native Paper — Material Design components; Reusables is design-system agnostic
  • NativeBase — utility-first library now deprecated; Reusables is actively maintained

FAQ

Q: Do I need Expo to use this? A: No. It works with both Expo and bare React Native projects, though Expo simplifies initial setup.

Q: How do I update components after copying them? A: Since you own the source, updates are manual. The CLI can diff against upstream for guided updates.

Q: Does it support React Native Web? A: Components use React Native primitives that work with React Native Web for cross-platform targeting.

Q: What animation library does it use? A: It uses React Native Reanimated for performant native-thread animations.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires