Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsJul 19, 2026·3 min de lectura

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.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
React Native Reusables
Comando de instalación directa
npx -y tokrepo@latest install 19d53b1b-836f-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con 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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados