reacticx
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseReacticx Component Library
Reacticx 组件库
Headless, animation-focused React Native component library with 90+ production-ready components.
Docs: https://www.reacticx.com/docs | GitHub: https://github.com/rit3zh/reacticx
一款无UI外壳、专注于动画效果的React Native组件库,包含90+生产级可用组件。
Setup
安装配置
bash
undefinedbash
undefinedInstall core dependencies
Install core dependencies
npm install react-native-reanimated react-native-gesture-handler react-native-svg
expo-haptics expo-blur expo-symbols @expo/vector-icons @shopify/react-native-skia
expo-haptics expo-blur expo-symbols @expo/vector-icons @shopify/react-native-skia
npm install react-native-reanimated react-native-gesture-handler react-native-svg
expo-haptics expo-blur expo-symbols @expo/vector-icons @shopify/react-native-skia
expo-haptics expo-blur expo-symbols @expo/vector-icons @shopify/react-native-skia
Initialize config (optional, for CLI)
Initialize config (optional, for CLI)
npx reacticx init
npx reacticx init
Add components
Add components
npx reacticx add <component-name>
npx reacticx add <component> --dir <path> --overwrite
npx reacticx list
npx reacticx list -c <category>
undefinednpx reacticx add <component-name>
npx reacticx add <component> --dir <path> --overwrite
npx reacticx list
npx reacticx list -c <category>
undefinedComponent Categories
组件分类
Shaders (8) - GPU-accelerated visual effects
着色器组件(8个)- GPU加速的视觉效果
Read references/shaders.md when working with shader components.
| Component | Install Name |
|---|---|
| Aurora | |
| Chroma Ring | |
| Energy Orb | |
| Siri Orb | |
| Mesh Gradient | |
| Grainy Gradient | |
| Skia Ripple | |
| Wave Scrawler | |
使用着色器组件时,请参考references/shaders.md。
| 组件名称 | 安装名称 |
|---|---|
| Aurora | |
| Chroma Ring | |
| Energy Orb | |
| Siri Orb | |
| Mesh Gradient | |
| Grainy Gradient | |
| Skia Ripple | |
| Wave Scrawler | |
Texts (6) - Animated typography
文本动画组件(6个)- 带动画的排版效果
Read references/texts.md when working with text animation components.
| Component | Install Name |
|---|---|
| Animated Text | |
| Dynamic Text | |
| Fade Text | |
| Gooey Text | |
| Curved Marquee | |
| Staggered Text | |
使用文本动画组件时,请参考references/texts.md。
| 组件名称 | 安装名称 |
|---|---|
| Animated Text | |
| Dynamic Text | |
| Fade Text | |
| Gooey Text | |
| Curved Marquee | |
| Staggered Text | |
Micro Interactions (9) - Interactive feedback elements
微交互组件(9个)- 交互式反馈元素
Read references/micro-interactions.md when working with micro interaction components.
| Component | Install Name |
|---|---|
| Animated Scroll Progress | |
| Animated Theme Toggle | |
| Animated Countdown | |
| Elastic Slider | |
| Flexi Button | |
| Gooey Switch | |
| Hamburger | |
| Spin Button | |
| Stacked Chips | |
使用微交互组件时,请参考references/micro-interactions.md。
| 组件名称 | 安装名称 |
|---|---|
| Animated Scroll Progress | |
| Animated Theme Toggle | |
| Animated Countdown | |
| Elastic Slider | |
| Flexi Button | |
| Gooey Switch | |
| Hamburger | |
| Spin Button | |
| Stacked Chips | |
Carousels & Scrollables (13)
轮播与滚动组件(13个)
Read references/components-carousels.md when working with carousel or scrollable components.
| Component | Install Name |
|---|---|
| Blur Carousel | |
| Cinematic Carousel | |
| Circular Carousel | |
| Circular List | |
| Material Carousel | |
| Parallax Carousel | |
| Rotate Carousel | |
| Scale Carousel | |
| Tilt Carousel | |
| Vertical Flow Carousel | |
| Vertical Page Carousel | |
| Marquee | |
| Matched Geometry | |
使用轮播或滚动组件时,请参考references/components-carousels.md。
| 组件名称 | 安装名称 |
|---|---|
| Blur Carousel | |
| Cinematic Carousel | |
| Circular Carousel | |
| Circular List | |
| Material Carousel | |
| Parallax Carousel | |
| Rotate Carousel | |
| Scale Carousel | |
| Tilt Carousel | |
| Vertical Flow Carousel | |
| Vertical Page Carousel | |
| Marquee | |
| Matched Geometry | |
Navigation & Layout (13)
导航与布局组件(13个)
Read references/components-navigation.md when working with navigation, tabs, sheets, or menu components.
| Component | Install Name |
|---|---|
| Accordion | |
| Bottom Sheet | |
| Bottom Sheet Stack | |
| Curved Bottom Tabs | |
| Dialog | |
| Disclosure Group | |
| Dropdown | |
| Dynamic Island | |
| Morphing Tab Bar | |
| Segmented Control | |
| Split View | |
| Stack Aware Tabs | |
| Tabs | |
使用导航、标签页、弹窗或菜单组件时,请参考references/components-navigation.md。
| 组件名称 | 安装名称 |
|---|---|
| Accordion | |
| Bottom Sheet | |
| Bottom Sheet Stack | |
| Curved Bottom Tabs | |
| Dialog | |
| Disclosure Group | |
| Dropdown | |
| Dynamic Island | |
| Morphing Tab Bar | |
| Segmented Control | |
| Split View | |
| Stack Aware Tabs | |
| Tabs | |
Inputs & Controls (13)
输入与控制组件(13个)
Read references/components-inputs.md when working with buttons, inputs, pickers, or toggle components.
| Component | Install Name |
|---|---|
| Animated Input Bar | |
| Button | |
| CheckBox | |
| Flip Card | |
| OTP Input | |
| Picker | |
| Ruler | |
| Scrollable Search | |
| Search Bar | |
| Seekbar | |
| Stepper | |
| Switch | |
| Theme Switch | |
使用按钮、输入框、选择器或开关组件时,请参考references/components-inputs.md。
| 组件名称 | 安装名称 |
|---|---|
| Animated Input Bar | |
| Button | |
| CheckBox | |
| Flip Card | |
| OTP Input | |
| Picker | |
| Ruler | |
| Scrollable Search | |
| Search Bar | |
| Seekbar | |
| Stepper | |
| Switch | |
| Theme Switch | |
Loaders (6)
加载器组件(6个)
Read references/display-loaders.md when working with loading indicators.
| Component | Install Name |
|---|---|
| Circle Loader | |
| Circular Loader | |
| Orbitdot Loader | |
| Pulsing Loader | |
| Rotating Square | |
| Spinner Arc | |
使用加载指示器时,请参考references/display-loaders.md。
| 组件名称 | 安装名称 |
|---|---|
| Circle Loader | |
| Circular Loader | |
| Orbitdot Loader | |
| Pulsing Loader | |
| Rotating Square | |
| Spinner Arc | |
Progress & Transitions (5)
进度与过渡组件(5个)
Read references/display-progress.md when working with progress indicators or transition effects.
| Component | Install Name |
|---|---|
| Circular Progress | |
| Progress | |
| Rolling Counter | |
| Shimmer | |
| Shimmer Wave Text | |
使用进度指示器或过渡效果组件时,请参考references/display-progress.md。
| 组件名称 | 安装名称 |
|---|---|
| Circular Progress | |
| Progress | |
| Rolling Counter | |
| Shimmer | |
| Shimmer Wave Text | |
Content & Display (10)
内容与展示组件(10个)
Read references/display-content.md when working with avatars, badges, headers, toast, or display components.
| Component | Install Name |
|---|---|
| Animated Chip Group | |
| Animated Header ScrollView | |
| Animated Masked Text | |
| Avatar / Avatar Group | |
| Badge | |
| Empty State | |
| QR Code | |
| Title | |
| Toast | |
使用头像、徽章、头部导航、提示框或展示类组件时,请参考references/display-content.md。
| 组件名称 | 安装名称 |
|---|---|
| Animated Chip Group | |
| Animated Header ScrollView | |
| Animated Masked Text | |
| Avatar / Avatar Group | |
| Badge | |
| Empty State | |
| QR Code | |
| Title | |
| Toast | |
Effects & Visuals (7)
特效与视觉组件(7个)
Read references/display-effects.md when working with glow, ripple, cards, or visual effect components.
| Component | Install Name |
|---|---|
| Glow | |
| Infinite Menu | |
| Lanyard | |
| Pagination | |
| Radial Intro | |
| Ripple | |
| Stack Cards | |
使用发光、涟漪、卡片或视觉效果组件时,请参考references/display-effects.md。
| 组件名称 | 安装名称 |
|---|---|
| Glow | |
| Infinite Menu | |
| Lanyard | |
| Pagination | |
| Radial Intro | |
| Ripple | |
| Stack Cards | |
Common Dependencies
通用依赖
| Package | Used By |
|---|---|
| Nearly all components |
| Carousels, sliders, switches, ripple |
| Shaders, gooey effects, theme switch |
| Loaders, glow, curved marquee |
| Text effects, carousels, headers |
| Accordion, pagination, pickers |
| Many animation-heavy components |
| 依赖包 | 使用组件范围 |
|---|---|
| 几乎所有组件 |
| 轮播、滑块、开关、涟漪组件 |
| 着色器、粘性效果、主题开关 |
| 加载器、发光、弧形跑马灯 |
| 文本效果、轮播、头部导航 |
| 折叠面板、分页、选择器 |
| 许多重动画组件 |
Key Notes
关键注意事项
- Wrap with when using gesture-based components
GestureHandlerRootView - Configure in babel config
react-native-reanimated/plugin - Skia components require native module installation
- All animations target 60fps via Reanimated's UI thread
- Some blur effects () work best on iOS
expo-blur - Import paths follow where layer is
@/components/{layer}/{name},base,molecules, ororganismstemplates
- 使用基于手势的组件时,需要用进行包裹
GestureHandlerRootView - 在babel配置中添加插件
react-native-reanimated/plugin - Skia组件需要安装原生模块
- 所有动画通过Reanimated的UI线程实现,目标帧率60fps
- 部分模糊效果()在iOS上表现最佳
expo-blur - 导入路径遵循格式,其中layer为
@/components/{layer}/{name}、base、molecules或organismstemplates