@baronha/react-native-multiple-image-picker

中文文档
2.2.5发布于 2025/12/11MITTypeScriptESM + CJS零依赖近 30 天下载 9860

� react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android �

原始使用文档
文档目录13 节
  1. Overview 🎇
  2. Documentation 📚
  3. Features 🔥
  4. Requirements
  5. Installation
  6. Usage
  7. To Do
  8. Sponsor & Support ☕️
  9. Built With ❤️
  10. Star History
  11. Showcase ✨
  12. Performance
  13. License

Logo

iOS Android Swift Kotlin React-Native

Overview 🎇

https://github.com/user-attachments/assets/79580bc7-237c-46b7-b92e-1479cc6d9079

React Native Multiple Image Picker (RNMIP) enables application to pick images and videos from multiple smart album in iOS/Android. React Native Multiple Image Picker is based on two libraries available, HXPhotoPicker and PictureSelector

Documentation 📚

Features 🔥

🤩Logo
🍕Crop single/multiple image.
🎑Preview image/video.
📸Camera module for capturing photos and recording videos.
🐳Keep the previous selection.
0️⃣Selected order index.
🎨UI Customization (numberOfColumn, spacing, primaryColor ... )
🌚Dark Mode, Light Mode
🌄Choose multiple images/video.
📦Support smart album (camera roll, selfies, panoramas, favorites, videos...).
📺Display video duration.
⛅️Support iCloud Photo Library.
🌪Scrolling performance. ☕️

Requirements

Because RNMIP uses Nitro Module, it complies with Nitro Modules' requirements. View Nitro Modules' requirements here

  • Xcode 16+
  • iOS 13+
  • react-native 0.75+
  • compileSdkVersion 34+

Installation

See more Installation

Usage

Here is a simple usage of the Multiple Image Picker.
See more Config

import { openPicker, Config } from '@baronha/react-native-multiple-image-picker'

const config: Config = {
  maxSelect: 10,
  maxVideo: 10,
  primaryColor: '#FB9300',
  backgroundDark: '#2f2f2f',
  numberOfColumn: 4,
  mediaType: 'all',
  selectBoxStyle: 'number',
  selectMode: 'multiple',
  language: 'vi', // 🇻🇳 Vietnamese
  theme: 'dark',
  isHiddenOriginalButton: false,
  primaryColor: '#F6B35D',
}

const onPicker = async () => {
  try {
    const response = await openPicker(config)
    setImages(response)
  } catch (e) {
    // catch error for multiple image picker
  }
}

To Do

  • Crop Image in iOS.
  • Preview Controller for iOS.
  • Handle Permission when limited on iOS.
  • Migrating Library to the New Architecture.
  • Multiple Crop Image.
  • Multiple Preview Image.
  • Dynamic Theme.
  • Dynamic Language
  • Open Crop Controller.
  • Open Preview Controller.
  • Open Camera Controller.

Sponsor & Support ☕️

BuyMeACoffee Kofi

To keep this library maintained and up-to-date please consider sponsoring it on GitHub. Or if you are looking for a private support or help in customizing the experience, then reach out to me on Twitter @_baronha.
Besides, I also built a product using HXPhotoPicker here, Hope you support:

Built With ❤️

NitroModules
HXPhotoPicker
PictureSelector

Star History

Star History Chart

Showcase ✨

List of used applications with @baronha/react-native-multiple-image-picker

Contributions are welcome! If you have an application that uses @baronha/react-native-multiple-image-picker, please open a pull request to add it to the list.

See all Showcase

Performance

We're trying to improve performance. If you have a better solution, please open a issue or pull request. Best regards!

License

MIT
TLPhotoPicker
PictureSelector

版本与发布记录

@baronha/react-native-multiple-image-picker 共发布 62 个版本,首次发布于 2021/02/22;过去 12 个月发布了 1 个版本。

版本发布日期距今
2.2.5latest2025/12/1110 个月前
2.2.42025/08/021.3 年前
2.2.32025/05/111.5 年前
2.2.22025/04/121.6 年前
2.2.12025/04/091.6 年前
2.2.02024/12/251.9 年前

关于 @baronha/react-native-multiple-image-picker 的常见问题

@baronha/react-native-multiple-image-picker 是什么?

� react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android �

如何安装 @baronha/react-native-multiple-image-picker?

在项目目录运行 npm install @baronha/react-native-multiple-image-picker,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(*)、react-native(*)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@baronha/react-native-multiple-image-picker 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@baronha/react-native-multiple-image-picker 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@baronha/react-native-multiple-image-picker 可以商用吗?

@baronha/react-native-multiple-image-picker 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@baronha/react-native-multiple-image-picker 的下载量有多少?

根据 npm 官方下载统计,@baronha/react-native-multiple-image-picker 在 2026/10/08 – 2026/11/06 这 30 天内被下载 9,860 次,日均约 329 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@baronha/react-native-multiple-image-picker 还在维护吗?

最新版本 2.2.5 发布于 2025/12/11(10 个月前);至今共发布 62 个版本,其中过去 12 个月发布了 1 个;首次发布于 2021/02/22。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。