收录一些好用的第三方组件,以方便日常的使用,大家有什么推荐的也可以跟我说,我加进去。如有冒犯,可以联系我删除,O(∩_∩)O谢谢。我发现有什么新的也会更新进去。
React Native 项目常用第三方组件汇总:
React-native-animatable 动画
react-native-carousel 轮播
react-native-countdown 倒计时
react-native-device-info 设备信息
react-native-fileupload 文件上传
react-native-icons 图标
react-native-image-picker 图片选择器
react-native-keychain iOS KeyChain管理
react-native-picker滚轮选择器
react-native-picker-Android Android 滚轮选择器
react-native-refreshable-listview 可刷新列表
react-native-scrollable-tab-view 可滚动标签
react-native-side-menu 侧栏
react-native-swiper 轮播
react-native-video 视频播放
react-native-viewpager 分页浏览
react-native-scrollable-tab-view 可滑动的底部或上部导航栏框架
react-native-tab-navigator 底部或上部导航框架(不可滑动)
react-native-check-box CheckBox
react-native-splash-screen 启动白屏问题
react-native-simple-router 简易路由跳转框架
react-native-storage 持久化存储
react-native-sortable-listview 分类ListView
react-native-htmlview 将 HTML 目录作为本地视图的控件,其风格可以定制
react-native-easy-toast 一款简单易用的 Toast 组件,支持 Android&iOS.
选项卡 https://github.com/exponentjs/react-native-tab-navigator
material组件库(各种漂亮的小组件)https://github.com/xinthink/react-native-material-kit
base组件库(各种封装不错的小组件)http://nativebase.io/docs/v0.4.6/components#anatomy
https://github.com/GeekyAnts/NativeBase
不错的按钮
https://github.com/mastermoo/react-native-action-button
https://github.com/ide/react-native-button
输入框表单验证
https://github.com/gcanti/tcomb-form-native
https://github.com/FaridSafi/react-native-gifted-form
https://github.com/bartonhammond/snowflake
炫酷效果的 TextInput
https://github.com/halilb/react-native-textinput-effects
https://github.com/zbtang/React-Native-TextInputLayout
聊天
https://github.com/FaridSafi/react-native-gifted-chat
地图
https://github.com/lelandrichardson/react-native-maps
动画
https://github.com/oblador/react-native-animatable
加载动画
https://github.com/maxs15/react-native-spinkit
抽屉效果
https://github.com/root-two/react-native-drawer
https://github.com/react-native-fellowship/react-native-side-menu
侧滑按钮
https://github.com/dancormier/react-native-swipeout
https://github.com/jemise111/react-native-swipe-list-view
图表
https://github.com/tomauty/react-native-chart
下拉放大
https://github.com/lelandrichardson/react-native-parallax-view
可滑动的日历组件
https://github.com/cqm1994617/react-native-myCalendar
语言转化和一些常用格式转换
https://github.com/joshswan/react-native-globalize
单选多选ListView
https://github.com/hinet/react-native-checkboxlist
选择按钮
https://github.com/sconxu/react-native-checkbox
二维码
https://github.com/ideacreation/react-native-barcodescanner
制作本地库
https://github.com/frostney/react-native-create-library
影音相关
https://github.com/MisterAlex95/react-native-record-sound
安卓录音
https://github.com/bosung90/react-native-audio-android
提示消息的Bar
https://github.com/KBLNY/react-native-message-bar
iOS原生TableView
https://github.com/aksonov/react-native-tableview
点击弹出视图
https://github.com/jeanregisser/react-native-popover
https://github.com/instea/react-native-popup-menu
3D Touch
https://github.com/madriska/react-native-quick-actions
双平台兼容的ActionSheet
https://github.com/beefe/react-native-actionsheet
照片墙
https://github.com/ldn0x7dc/react-native-gallery
键盘遮挡问题
https://github.com/reactnativecn/react-native-inputscrollview
https://github.com/wix/react-native-keyboard-aware-scrollview
本地存储
https://github.com/sunnylqm/react-native-storage
星星
https://github.com/djchie/react-native-star-rating
国际化
https://github.com/joshswan/react-native-globalize
扫描二维码
https://github.com/lazaronixon/react-native-qrcode-reader
通讯录
https://github.com/rt2zz/react-native-contacts
加密
https://www.npmjs.com/package/crypto-js
缓存管理
https://github.com/reactnativecn/react-native-http-cache
ListView的优化
https://github.com/sghiassy/react-native-sglistview
图片和base64互转
https://github.com/xfumihiro/react-native-image-to-base64
安卓 iOS 白屏解决
https://github.com/mehcode/rn-splash-screen
Text跑马灯效果
https://github.com/remobile/react-native-marquee-label
清除按钮的输入框
https://github.com/beefe/react-native-textinput
WebView相关
https://github.com/alinz/react-native-webview-bridge
判断横竖屏
https://github.com/yamill/react-native-orientation
PDF
https://github.com/cnjon/react-native-pdf-view
获取设备信息
https://github.com/rebeccahughes/react-native-device-info
手势放大缩小移动
https://github.com/kiddkai/react-native-gestures
https://github.com/johanneslumpe/react-native-gesture-recognizers
下拉-上拉-刷新
https://github.com/FaridSafi/react-native-gifted-listview
https://github.com/jsdf/react-native-refreshable-listview
https://github.com/greatbsky/react-native-pull/wiki
下拉选择
https://github.com/alinz/react-native-dropdown
图片查看
https://github.com/oblador/react-native-lightbox
照片选择
https://github.com/marcshilling/react-native-image-picker
https://github.com/ivpusic/react-native-image-crop-picker
图片加载进度条
https://github.com/oblador/react-native-image-progress
轮播视图
https://github.com/race604/react-native-viewpager
https://github.com/FuYaoDe/react-native-app-intro
https://github.com/appintheair/react-native-looped-carousel
https://github.com/leecade/react-native-swiper
模态视图
https://github.com/maxs15/react-native-modalbox
https://github.com/brentvatne/react-native-modal
https://github.com/bodyflex/react-native-simple-modal
毛玻璃效果
https://github.com/react-native-fellowship/react-native-blur
头像库
https://github.com/oblador/react-native-vector-icons
滑动选项卡
https://github.com/skv-headless/react-native-scrollable-tab-view
A ScrollView-like component that:
Has a parallax header
Has an optional sticky header
Is composable with any component that expects a ScrollView (e.g. ListView or InfiniteScrollView)
Can be nested within other views
Works on iOS and Android
react-native-parallax-scroll-view
工程目录下终端输入 npm i XXX save
2017-4-25新增.
1.https://github.com/aroth/react-native-uploader 文件上传
![](https://i-blog.csdnimg.cn/blog_migrate/f6188be202bb11e398b72de17b7ce45c.webp?x-image-process=image/format,png)
图片.gif
2.https://github.com/oblador/react-native-animatable 动画
![](https://i-blog.csdnimg.cn/blog_migrate/8dc5884489f636d9be665a2a87d3bd9a.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/5704fddcdccd955f3a073350d0ecc008.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/3dede759d0f241497d482db8c2076888.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/e102be9501600becebc820394976bf5e.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/fc77b0c5b2869f1fe0a34becaedf8bb3.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/8f1eb416fa75587e0c931c3e1b7baa64.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/dd83073ccb9b2ff8213d17a0951374f6.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/c0eb23bf448439e4c11f4d7e638b315f.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/e205c4810fd6943c25ef9f15670ca247.webp?x-image-process=image/format,png)
图片.gif
3.https://github.com/oblador/react-native-vector-icons 图标
![](https://i-blog.csdnimg.cn/blog_migrate/6da7aca7bf404817179b415ae2375bb7.webp?x-image-process=image/format,png)
图片.gif
4.https://github.com/ivpusic/react-native-image-crop-picker 图片选择器(可多选)
![](https://i-blog.csdnimg.cn/blog_migrate/406c6351c8343991f997b9cee7f3ec20.webp?x-image-process=image/format,png)
图片.png
![](https://i-blog.csdnimg.cn/blog_migrate/9794b1dacddcee45d0a406709d8fd00a.webp?x-image-process=image/format,png)
图片.png
![](https://i-blog.csdnimg.cn/blog_migrate/e624174a0c3c2c35a898c1b23fab32e3.webp?x-image-process=image/format,png)
图片.png
5.https://github.com/beefe/react-native-picker 滚轮选择器
![](https://i-blog.csdnimg.cn/blog_migrate/02d7d4fb9f95d57a768d2c28ace012de.webp?x-image-process=image/format,png)
图片.png
![](https://i-blog.csdnimg.cn/blog_migrate/97ff060c5421e051f1e8efaa69cef0e7.webp?x-image-process=image/format,png)
图片.png
6.https://github.com/jsdf/react-native-refreshable-listview 下拉刷新listview
![](https://i-blog.csdnimg.cn/blog_migrate/4dcee621150dbdab15ddf1a5a223d0ac.webp?x-image-process=image/format,png)
图片.png
7.https://github.com/skv-headless/react-native-scrollable-tab-view 可滚动标签
![](https://i-blog.csdnimg.cn/blog_migrate/4e83b373c1ea9c01cab02ca21aa0fc14.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/76431ea44e31de04ec7105830be5b889.webp?x-image-process=image/format,png)
图片.gif
8.https://github.com/react-native-community/react-native-side-menu 侧栏
![](https://i-blog.csdnimg.cn/blog_migrate/bb8a002831f48e7b3220ed1716338b0a.webp?x-image-process=image/format,png)
图片.gif
9.https://github.com/leecade/react-native-swiper 图片轮播
![](https://i-blog.csdnimg.cn/blog_migrate/1264989b7fa0c2350ae9845b7fee6d6b.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/acffa18e2c6a542586ad1de83a6ea878.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/a11499d2ba5b77e425916ff9e1f16a77.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/2f296db8e0b12af185739721670c0ee8.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/b4a8daa9085d5da3b7f58f059ff5ecad.webp?x-image-process=image/format,png)
图片.gif
10.https://github.com/crazycodeboy/react-native-check-box CheckBox
![](https://i-blog.csdnimg.cn/blog_migrate/fb42a16599809d69e668c2b4e41bd582.webp?x-image-process=image/format,png)
图片.gif
11.https://github.com/crazycodeboy/react-native-easy-toast Toast 组件
![](https://i-blog.csdnimg.cn/blog_migrate/4a926ccf7c487d204efc223bc4e4c548.webp?x-image-process=image/format,png)
图片.gif
12.https://github.com/xinthink/react-native-material-kit 各种漂亮的小组件
![](https://i-blog.csdnimg.cn/blog_migrate/f201f72c0ee37545630b234c80abfef7.webp?x-image-process=image/format,png)
图片.gif
- https://github.com/GeekyAnts/NativeBase base组件库
14.https://github.com/mastermoo/react-native-action-button 不错的按钮
![](https://i-blog.csdnimg.cn/blog_migrate/9d67538b52845c6b9756382ea4966428.webp?x-image-process=image/format,png)
图片.gif
15.https://github.com/halilb/react-native-textinput-effects
https://github.com/zbtang/React-Native-TextInputLayout 炫酷效果的 TextInput
![](https://i-blog.csdnimg.cn/blog_migrate/e7fe8e134215619307dacba6d6372c39.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/e0d1932a01c2b68447bd32d53dc9d80b.webp?x-image-process=image/format,png)
图片.gif
16.https://github.com/FaridSafi/react-native-gifted-chat 聊天
![](https://i-blog.csdnimg.cn/blog_migrate/52db115a2cf19c9de01a6298361f1348.webp?x-image-process=image/format,png)
图片.png
17.https://github.com/lovebing/react-native-baidu-map 百度地图
(集成百度地图详细教程:http://www.jianshu.com/p/eceb7e66fa5e)
![](https://i-blog.csdnimg.cn/blog_migrate/dae95d7c244e2b76a8767b5cc8714544.webp?x-image-process=image/format,png)
图片.png
![](https://i-blog.csdnimg.cn/blog_migrate/ad217d6d7b9f853a1b98d277450db5dd.webp?x-image-process=image/format,png)
图片.png
18.https://github.com/maxs15/react-native-spinkit 加载动画
![](https://i-blog.csdnimg.cn/blog_migrate/f58a430dadb4aa047823fd04624d3da4.webp?x-image-process=image/format,png)
图片.gif
19.https://github.com/dancormier/react-native-swipeout
https://github.com/jemise111/react-native-swipe-list-view 侧滑按钮
![](https://i-blog.csdnimg.cn/blog_migrate/a4d905dae25690de15a031f4930b484e.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/8f8f246c5cbbbd01e029626b8c3d0d80.webp?x-image-process=image/format,png)
图片.gif
20.https://github.com/wuxudong/react-native-charts-wrapper 图表(功能炒鸡强大)
![](https://i-blog.csdnimg.cn/blog_migrate/ff4c80e5ba814f7c92880683a4f003cc.webp?x-image-process=image/format,png)
图片.png
![](https://i-blog.csdnimg.cn/blog_migrate/8de61f7b96b87d2089c9a741070ca907.webp?x-image-process=image/format,png)
图片.png
21.https://github.com/lelandrichardson/react-native-parallax-view 下拉放大
图片.gif
22.https://github.com/cqm1994617/react-native-myCalendar 可滑动的日历组件
![](https://i-blog.csdnimg.cn/blog_migrate/d7107ee96c584a5124082a0531998d2a.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/c99498c3fc27f05e451189644c70e9c2.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/8dcae7667542c53035e5f29b159316ab.webp?x-image-process=image/format,png)
图片.gif
23.https://github.com/KBLNY/react-native-message-bar 提示消息的Bar
![](https://i-blog.csdnimg.cn/blog_migrate/7b714824a4cb37288d2884c578e0ddf9.webp?x-image-process=image/format,png)
图片.gif
24.https://github.com/jeanregisser/react-native-popover 点击弹出视图
![](https://i-blog.csdnimg.cn/blog_migrate/4953c6ae7dbf278c273e43737eaaa726.webp?x-image-process=image/format,png)
图片.gif
25.https://github.com/madriska/react-native-quick-actions 3D Touch
![](https://i-blog.csdnimg.cn/blog_migrate/ee3f86c58fc6b1b74dce505aa3b7b34a.webp?x-image-process=image/format,png)
图片.png
26.https://github.com/beefe/react-native-actionsheet 双平台兼容的ActionSheet
![](https://i-blog.csdnimg.cn/blog_migrate/3708bad88a2a440ab93f9574c547654b.webp?x-image-process=image/format,png)
![](https://i-blog.csdnimg.cn/blog_migrate/85aa834d16ecfc6f928716390f518f5b.webp?x-image-process=image/format,png)
27.https://github.com/reactnativecn/react-native-inputscrollview
https://github.com/wix/react-native-keyboard-aware-scrollview键盘遮挡问题
28.https://github.com/oblador/react-native-image-progress 图片加载进度条
![](https://i-blog.csdnimg.cn/blog_migrate/431ffbfd2d3c4c945480425ed588222c.webp?x-image-process=image/format,png)
图片.gif
29.https://github.com/maxs15/react-native-modalbox
https://github.com/bodyflex/react-native-simple-modal 模态视图
![](https://i-blog.csdnimg.cn/blog_migrate/47b1483ce2a7e7a95db9176377bd2417.webp?x-image-process=image/format,png)
图片.gif
![](https://i-blog.csdnimg.cn/blog_migrate/8b22b123e7a521d9d4f49526b2dfdd20.webp?x-image-process=image/format,png)
图片.gif
图片.gif
30.https://github.com/react-native-community/react-native-blur 毛玻璃效果
![](https://i-blog.csdnimg.cn/blog_migrate/9121629fa1f8c641e9dcccf51fbd3db5.webp?x-image-process=image/format,png)
图片.gif
一个文本语音播放组件:
使用手机系统自带的tts功能合成语音的组件,可将输入的文本转为语音播放。
https://github.com/somonus/react-native-speech文本语音播放组件
可以是一个字符串或者一个对象,当是一个字符串时,则默认以中文播放当前字符串。如果是一个对象,则根据对象的key进行播放。对象包含的key有:
text: 需要播放的文本内容
language: 需要以哪种语言播放
2017.5.2更新
按钮特效 react-native-circle-button▼
![](https://i-blog.csdnimg.cn/blog_migrate/21ad7cd4622c1cb681ac7dba1ad5a7e8.webp?x-image-process=image/format,png)
项目名称:react-native-circle-button功能介绍:可以支持双平台的原型菜单按钮,作者灵感来源于国外设计网站dribbble,虽然可能项目用到的可能性比较小,但是可以看下实现过程。仓库地址:https://github.com/dwicao/react-native-circle-button
酷炫折叠动画 react-native-foldview▼
![](https://i-blog.csdnimg.cn/blog_migrate/98f877d711da82c70d7395d172d885f1.webp?x-image-process=image/format,png)
项目名称:react-native-foldview功能介绍:纯 JS 代码编写的,一个带折叠动画的列表项 UI 组件,可用在滚动列表中,展示列表详情之类的,动画效果也不错。仓库地址:https://github.com/jmurzy/react-native-foldview
2017.5.4更新
方块滚动轮播图,类似产品块cell展示,或者卡片式滑动
react-native-snap-carousel
![](https://i-blog.csdnimg.cn/blog_migrate/75eea2cc52c948809acf10e44f12e2c8.webp?x-image-process=image/format,png)
2017.5.25更新
这个是一个下拉选项组件
A react-native dropdown/picker/selector component for both Android & iOS.
国人做的,貌似不错,支持个。
react-native-modal-dropdown
cnblog的中文解释
![](https://i-blog.csdnimg.cn/blog_migrate/92712d894a8d76c780aa0639308c9d74.webp?x-image-process=image/format,png)
![](https://i-blog.csdnimg.cn/blog_migrate/375aadbe2284c8bb6146dce9756abfe3.webp?x-image-process=image/format,png)
![](https://i-blog.csdnimg.cn/blog_migrate/9bcd3c73607bf11496c08b76d1daa6d7.webp?x-image-process=image/format,png)
一个比较美丽的提示气泡toast
react-native-root-toast
![](https://i-blog.csdnimg.cn/blog_migrate/70d12e09797296b8cc6c505f493b1624.png)