Getting Started
Getting started with Reacticx

Overview
Reacticx is a headless, animation-focused component library for React Native. It does not rely on external styling systems and is designed to integrate cleanly into existing projects.
1. Install Required Utilities
Some components depend on shared native utilities that must be installed once.
npm install react-native-reanimated react-native-gesture-handler react-native-svg expo-haptics expo-blur expo-symbols @expo/vector-icons @shopify/react-native-skiaAdditional dependencies are listed on individual component pages when required.
2. Initialize Reacticx
Note: The `components.json` file is optional
It is only required if you're using the CLI to add components to your project. If you're using the copy and paste method, you pretty much don't need this file.
Run the init command to create your config file:
npx reacticx initThis creates a component.config.json in your project root:
{
"outDir": "src/shared/ui"
}3. Browse Components
List all available components:
npx reacticx listFilter by category:
npx reacticx list -c moleculesExample output:
📦 Reacticx UI Components (v1.0.0)
Total: 50 components
atoms/
button
input
text
molecules/
accordion
card
modal
micro-interactions/
gooey-switch
spin-button4. Add Components
Add a component to your project:
npx reacticx add buttonOutput:
✔ Added button!
Files created:
src/shared/ui/atoms/button/index.tsx
src/shared/ui/atoms/button/types.tsOptions
npx reacticx add <component> --dir <path>
npx reacticx add <component> --overwrite5. CLI Reference
| Command | Description |
|---|---|
reacticx init | Create config file |
reacticx list | List all components |
reacticx list -c <category> | Filter by category |
reacticx add <component> | Add component |
reacticx add <component> --dir <path> | Custom output directory |
reacticx add <component> --overwrite | Overwrite existing files |
What's Next
Each component page documents required dependencies and usage patterns. Install only what you need, and customize freely.
