RN中常用开源组件

最近负责项目的rn模块,平常因为很多功能需求,需要用到rn的开源组件,这边分享一下。

录音 react-native-audio

录音播放 react-native-sound

百度地图 react-native-baidu-map

单图片选择 裁剪 react-native-image-picker

多图选择 裁剪 react-native-image-crop-picker

图片放大查看 react-native-image-zoom-viewer

持久化存储 react-native-storage

导航 react-navigation

截屏 react-native-view-shot

热更新 react-native-code-push

字体库图标 react-native-vector-icons

微信 react-native-wechat

支付宝 react-native-alipay

获取设备信息 react-native-device-info

国际化 react-native-i18n

文件操作 react-native-fs

数据库 react-native-sqlite-storage

图像处理 react-native-transformable-image

生成二维码 react-native-qrcode

扫描二维码 react-native-camera

统计图表 react-native-chart

统计图表 react-native-pathjs-charts

激光推送 jpush-react-native

联系人获取 react-native-contacts

背景渐变色 react-native-linear-gradient

app启动白屏优化 react-native-splash-screen

底部Tab react-native-tab-navigator

滑动/轮播 react-native-swiper(安卓下不能垂直滚动) @nart/react-native-swiper(这个可以垂直滚动)

特别轮播图: react-native-snap-carousel

模态窗口:https://github.com/react-native-community/react-native-modal

显示HTML代码 react-native-render-html

动画 react-native-animatable

Tab选项卡 react-native-scrollable-tab-view

签名插件:react-native-signature-capture

微信(分享、支付等功能): https://github.com/yorkie/react-native-wechat

支付宝: https://github.com/huangzuizui/rn-alipay

文件下载:react-native-fs (react-native link后需要在android/app/build.gradle文件的dependencies加上compile project(':react-native-fs'))

数据存储: react-native-simple-store(当然选简单的咯) react-native-storage(复杂点)

图片和base64互转 https://github.com/xfumihiro/react-native-image-to-base64

进度条:react-native-progress

自定义下拉刷新样式(ListView):react-native-pull

Toast组件 react-native-easy-toast

毛玻璃效果(图片模糊) react-native-blur

Input被键盘遮挡:react-native-input-scroll-view、react-native-keyboard-aware-scroll-view

下拉放大

react-native-parallax-view

react-native-parallax-scroll-view(这个貌似只有IOS有效?)

分享:react-native-share

底部确认卡 react-native-actionsheet

底部滚轮选择器 https://github.com/beefe/react-native-picker

侧滑出现按钮 react-native-swipeout

全屏正在加载组件 react-native-whc-loading

加载动画 react-native-spinkit

图表 react-native-charts-wrapper

顶部消息 react-native-message-bar

日历组件 react-native-myCalendar 、 react-native-calendars

聊天组件 react-native-gifted-chat

抛物线组件 react-native-parabolic

视频播放 react-native-video

扫描二维码

react-native-barcode-scanner-universal 安卓/IOS

react-native-barcodescanner 安卓

react-native-camera IOS

星星评分 https://github.com/djchie/react-native-star-rating(elements框架里有了)

加密 https://www.npmjs.com/package/crypto-js

Text跑马灯效果 https://github.com/remobile/react-native-marquee-label

侧栏 react-native-side-menu

线性渐变 react-native-linear-gradient

倒计时组件 react-native-CountDowntimer

照片墙 react-native-gallery

A-Z分组列表 react-native-alphabetlistview

文本超链接组件 react-native-hyperlink

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/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/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

● 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/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

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 202,607评论 5 476
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 85,047评论 2 379
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 149,496评论 0 335
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,405评论 1 273
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,400评论 5 364
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,479评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,883评论 3 395
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,535评论 0 256
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,743评论 1 295
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,544评论 2 319
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,612评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,309评论 4 318
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,881评论 3 306
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,891评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,136评论 1 259
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,783评论 2 349
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,316评论 2 342

推荐阅读更多精彩内容