๐Ÿ“ฆ aquaticcalf / shadcn-rn-registry-template

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/aquaticcalf/shadcn-rn-registry-template.git
HTTPS git clone https://github.com/aquaticcalf/shadcn-rn-registry-template.git
SSH git clone git@github.com:aquaticcalf/shadcn-rn-registry-template.git
CLI gh repo clone aquaticcalf/shadcn-rn-registry-template
sam sam rename registry tab to index c9b653e 3 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ app
๐Ÿ“ assets
๐Ÿ“ components
๐Ÿ“ constants
๐Ÿ“ hooks
๐Ÿ“ lib
๐Ÿ“ public
๐Ÿ“ registry
๐Ÿ“„ .gitignore
๐Ÿ“„ app.json
๐Ÿ“„ babel.config.js
๐Ÿ“„ biome.json
๐Ÿ“„ bun.lock
๐Ÿ“„ components.json
๐Ÿ“„ eslint.config.js
๐Ÿ“„ expo-env.d.ts
๐Ÿ“„ global.css
๐Ÿ“„ metro.config.js
๐Ÿ“„ package.json
๐Ÿ“„ readme.md
๐Ÿ“„ registry.json
๐Ÿ“„ tailwind.config.ts
๐Ÿ“„ tsconfig.json
๐Ÿ“„ README.md

shadcn rn registry

a minimal template for building component registries in react native using expo and nativewind.

features

  • shadcn cli integration - uses shadcn's component registry distribution system for component management
  • structured registry - organize components in registry/components-lib/components and registry/components-lib/blocks
  • nativewind support - build components with tailwind css utilities
  • animations - powered by react-native-reanimated for smooth interactions
  • theme support - light and dark mode support built-in
  • expo router - file-based routing for react native

getting started

install dependencies

bun install

start development

bun dev

build for platforms

bun android    # Android
bun ios        # iOS
bun web        # Web

code quality

bun fix        # Format and fix code with biome
bun lint       # Lint with expo

project structure

โ”œโ”€โ”€ app/                    # expo router pages and layouts
โ”œโ”€โ”€ components/             # reusable components
โ”œโ”€โ”€ registry/              # shadcn component registry (registry.json manages metadata)
โ”œโ”€โ”€ constants/             # app constants
โ”œโ”€โ”€ hooks/                 # custom react hooks
โ”œโ”€โ”€ lib/                   # utility functions
โ””โ”€โ”€ assets/                # static assets

using the registry

this project uses the shadcn cli registry distribution system. components are defined in the registry and can be discovered and managed through the shadcn ecosystem.

tech stack