Skip to content

Commit 740ee20

Browse files
authored
Merge pull request #207 from baronha/docs/showcase
✨Document: Showcase
2 parents 8af6c19 + 0611a10 commit 740ee20

File tree

8 files changed

+149
-6750
lines changed

8 files changed

+149
-6750
lines changed

README.md

+30-134
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,30 @@ React Native Multiple Image Picker **(RNMIP)** enables application to pick image
1616

1717
## Features 🔥
1818

19-
| 🤩 | ![Logo][Logo] |
20-
| --- | --------------------------------------------------------------------------------- |
19+
| 🤩 | ![Logo][Logo] |
20+
| --- | ------------------------------------------------------------------------------------- |
2121
| 🍕 | [**Crop**](/docs/docs/CROP.mdx) single/multiple image. |
2222
| 🎑 | [**Preview**](/docs/docs/PREVIEW.mdx) image/video. |
2323
| 📸 | [**Camera**](/docs/docs/CAMERA.mdx) module for capturing photos and recording videos. |
24-
| 🐳 | Keep the previous selection. |
25-
| 0️⃣ | Selected order index. |
26-
| 🎨 | UI Customization (numberOfColumn, spacing, primaryColor ... ) |
27-
| 🌚 | Dark Mode, Light Mode |
28-
| 🌄 | Choose multiple images/video. |
29-
| 📦 | Support smart album `(camera roll, selfies, panoramas, favorites, videos...)`. |
30-
| 📺 | Display video duration. |
31-
| ⛅️ | Support iCloud Photo Library. |
32-
| 🌪 | Scrolling performance. ☕️ |
24+
| 🐳 | Keep the previous selection. |
25+
| 0️⃣ | Selected order index. |
26+
| 🎨 | UI Customization (numberOfColumn, spacing, primaryColor ... ) |
27+
| 🌚 | Dark Mode, Light Mode |
28+
| 🌄 | Choose multiple images/video. |
29+
| 📦 | Support smart album `(camera roll, selfies, panoramas, favorites, videos...)`. |
30+
| 📺 | Display video duration. |
31+
| ⛅️ | Support iCloud Photo Library. |
32+
| 🌪 | Scrolling performance. ☕️ |
33+
34+
## Requirements
35+
36+
Because RNMIP uses Nitro Module, it complies with Nitro Modules' requirements.
37+
View Nitro Modules' requirements [here](https://nitro.margelo.com/docs/minimum-requirements)
38+
39+
- `Xcode 16+`
40+
- `iOS 13+`
41+
- `react-native 0.75+`
42+
- `compileSdkVersion 34+`
3343

3444
## Installation
3545

@@ -80,7 +90,7 @@ const onPicker = async () => {
8090
- [x] Dynamic Language
8191
- [x] Open Crop Controller.
8292
- [x] Open Preview Controller.
83-
- [ ] Open Camera Controller.
93+
- [x] Open Camera Controller.
8494

8595
## Sponsor & Support ☕️
8696

@@ -98,133 +108,19 @@ To keep this library maintained and up-to-date please consider [sponsoring it on
98108

99109
[![Star History Chart](https://api.star-history.com/svg?repos=baronha/react-native-multiple-image-picker&type=Date)](https://star-history.com/#bytebase/star-history&Date)
100110

111+
## Showcase ✨
112+
113+
List of used applications with `@baronha/react-native-multiple-image-picker`
114+
115+
Contributions are welcome! If you have an application that uses `@baronha/react-native-multiple-image-picker`, please open a [pull request](/docs/docs/SHOWCASE/showcase.json) to add it to the list.
116+
117+
See all [**Showcase**](https://baronha.github.io/react-native-multiple-image-picker/showcase)
118+
101119
## Performance
102120

103121
We're trying to improve performance. If you have a better solution, please open a [issue](https://github.com/baronha/react-native-multiple-image-picker/issues)
104122
or [pull request](https://github.com/baronha/react-native-multiple-image-picker/pulls). Best regards!
105123

106-
## Contributors ✨
107-
108-
Thanks go to these wonderful people:
109-
110-
<!-- readme: collaborators,contributors -start -->
111-
<table>
112-
<tbody>
113-
<tr>
114-
<td align="center">
115-
<a href="https://github.com/baronha">
116-
<img src="https://private-avatars.githubusercontent.com/u/23580920?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE0ODAsIm5iZiI6MTczNDY4MDI4MCwicGF0aCI6Ii91LzIzNTgwOTIwIn0.WQt79ud4OjFPAmHtD6qtPRP558rnT_C7Y-iW3yS466k&v=4" width="100;" alt="baronha"/>
117-
<br />
118-
<sub><b>Bảo Hà.</b></sub>
119-
</a>
120-
</td>
121-
<td align="center">
122-
<a href="https://github.com/itsnyx">
123-
<img src="https://private-avatars.githubusercontent.com/u/74738973?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE0ODAsIm5iZiI6MTczNDY4MDI4MCwicGF0aCI6Ii91Lzc0NzM4OTczIn0.CRxTBpQ8lOdxjwKESBwyTZMQ46d8f3ssKiz-bzq2m3Y&v=4" width="100;" alt="itsnyx"/>
124-
<br />
125-
<sub><b>Alireza</b></sub>
126-
</a>
127-
</td>
128-
<td align="center">
129-
<a href="https://github.com/pnthach95">
130-
<img src="https://private-avatars.githubusercontent.com/u/31266357?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE0MjAsIm5iZiI6MTczNDY4MDIyMCwicGF0aCI6Ii91LzMxMjY2MzU3In0.mQks_lxBfdCcUtV6Reym3ENfG2Ld3B324ORzl9SvqrI&v=4" width="100;" alt="pnthach95"/>
131-
<br />
132-
<sub><b>Phạm Ngọc Thạch</b></sub>
133-
</a>
134-
</td>
135-
<td align="center">
136-
<a href="https://github.com/crockalet">
137-
<img src="https://private-avatars.githubusercontent.com/u/60240500?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODEwNjAsIm5iZiI6MTczNDY3OTg2MCwicGF0aCI6Ii91LzYwMjQwNTAwIn0.T0Z80DcgS23mJcQc5OBBAKxUvBEWoc-aq4mqB18Q3Zg&v=4" width="100;" alt="crockalet"/>
138-
<br />
139-
<sub><b>crockalet</b></sub>
140-
</a>
141-
</td>
142-
<td align="center">
143-
<a href="https://github.com/denisbevilacqua">
144-
<img src="https://private-avatars.githubusercontent.com/u/8768794?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE5MDAsIm5iZiI6MTczNDY4MDcwMCwicGF0aCI6Ii91Lzg3Njg3OTQifQ.k1ERCp4n4VBIre37YNePaIKDVYYX7Lw0R29RY697tcs&v=4" width="100;" alt="denisbevilacqua"/>
145-
<br />
146-
<sub><b>Denis Bevilacqua</b></sub>
147-
</a>
148-
</td>
149-
<td align="center">
150-
<a href="https://github.com/cd-butterfly">
151-
<img src="https://private-avatars.githubusercontent.com/u/6622823?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE2MDAsIm5iZiI6MTczNDY4MDQwMCwicGF0aCI6Ii91LzY2MjI4MjMifQ.fOnPbiSbCfSdFbJ7eQXXTqUExZJ2qxKeXetsyv6FNxg&v=4" width="100;" alt="cd-butterfly"/>
152-
<br />
153-
<sub><b>cd-butterfly</b></sub>
154-
</a>
155-
</td>
156-
</tr>
157-
<tr>
158-
<td align="center">
159-
<a href="https://github.com/ctrleffive">
160-
<img src="https://private-avatars.githubusercontent.com/u/35224957?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE4NDAsIm5iZiI6MTczNDY4MDY0MCwicGF0aCI6Ii91LzM1MjI0OTU3In0.zzUrnMiuQZY0LxHE4K5ctm9Ue9ACEgKiQ6EAQZlntHE&v=4" width="100;" alt="ctrleffive"/>
161-
<br />
162-
<sub><b>Chandu J S</b></sub>
163-
</a>
164-
</td>
165-
<td align="center">
166-
<a href="https://github.com/jeongshin">
167-
<img src="https://private-avatars.githubusercontent.com/u/64301935?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODEzNjAsIm5iZiI6MTczNDY4MDE2MCwicGF0aCI6Ii91LzY0MzAxOTM1In0.qfMawsSaHp-zhL-T-HoFjKaPYDYP9TleMsRKd4EehpY&v=4" width="100;" alt="jeongshin"/>
168-
<br />
169-
<sub><b>Huckleberry</b></sub>
170-
</a>
171-
</td>
172-
<td align="center">
173-
<a href="https://github.com/shafiqjefri">
174-
<img src="https://private-avatars.githubusercontent.com/u/126740667?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODEwNjAsIm5iZiI6MTczNDY3OTg2MCwicGF0aCI6Ii91LzEyNjc0MDY2NyJ9.7Pl7tRLPeTQcM0Rk_Qhm7EtdOn05DtzGsdAdnbI0tlY&v=4" width="100;" alt="shafiqjefri"/>
175-
<br />
176-
<sub><b>shafiqjefri</b></sub>
177-
</a>
178-
</td>
179-
<td align="center">
180-
<a href="https://github.com/rxdsrex">
181-
<img src="https://private-avatars.githubusercontent.com/u/21159505?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE1NDAsIm5iZiI6MTczNDY4MDM0MCwicGF0aCI6Ii91LzIxMTU5NTA1In0.qd51ATanVubUUyS7_fnYg-7Ku3-gFRlpYktCq6-dIkU&v=4" width="100;" alt="rxdsrex"/>
182-
<br />
183-
<sub><b>Rajnarayan Dutta</b></sub>
184-
</a>
185-
</td>
186-
<td align="center">
187-
<a href="https://github.com/vivianlys90">
188-
<img src="https://private-avatars.githubusercontent.com/u/22317616?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODEyNDAsIm5iZiI6MTczNDY4MDA0MCwicGF0aCI6Ii91LzIyMzE3NjE2In0.jnaG2nlwk7BDCDoZ3k0t1BLnZ-ZAkhDO9I_B294_Uas&v=4" width="100;" alt="vivianlys90"/>
189-
<br />
190-
<sub><b>vivianLee</b></sub>
191-
</a>
192-
</td>
193-
<td align="center">
194-
<a href="https://github.com/ymane">
195-
<img src="https://private-avatars.githubusercontent.com/u/22021856?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE4NDAsIm5iZiI6MTczNDY4MDY0MCwicGF0aCI6Ii91LzIyMDIxODU2In0.BZsqT2aIKFG2GlRHtNf9KNNSb8wyveEUaeEUaCzkpvM&v=4" width="100;" alt="ymane"/>
196-
<br />
197-
<sub><b>Yogesh Mane</b></sub>
198-
</a>
199-
</td>
200-
</tr>
201-
<tr>
202-
<td align="center">
203-
<a href="https://github.com/ouabing">
204-
<img src="https://private-avatars.githubusercontent.com/u/1430376?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODE4NDAsIm5iZiI6MTczNDY4MDY0MCwicGF0aCI6Ii91LzE0MzAzNzYifQ.VR_p9iUCsr7vPHyjS4ShtB76mXCUbsTrZTIXeDeyyao&v=4" width="100;" alt="ouabing"/>
205-
<br />
206-
<sub><b>abing</b></sub>
207-
</a>
208-
</td>
209-
<td align="center">
210-
<a href="https://github.com/hieuphan1030">
211-
<img src="https://private-avatars.githubusercontent.com/u/108206954?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODExMjAsIm5iZiI6MTczNDY3OTkyMCwicGF0aCI6Ii91LzEwODIwNjk1NCJ9.N8Eq80NDMmCpuWo5qETz64HQNLNyaErQYN32asZVjD8&v=4" width="100;" alt="hieuphan1030"/>
212-
<br />
213-
<sub><b>hieuphan1030</b></sub>
214-
</a>
215-
</td>
216-
<td align="center">
217-
<a href="https://github.com/tuanngocptn">
218-
<img src="https://private-avatars.githubusercontent.com/u/22292704?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MzQ2ODExODAsIm5iZiI6MTczNDY3OTk4MCwicGF0aCI6Ii91LzIyMjkyNzA0In0.lURt1nOb3TQ2tlHJp8t1npWXCcl4dUeBbVaexXLWPFI&v=4" width="100;" alt="tuanngocptn"/>
219-
<br />
220-
<sub><b>Nick - Ngoc Pham</b></sub>
221-
</a>
222-
</td>
223-
</tr>
224-
<tbody>
225-
</table>
226-
<!-- readme: collaborators,contributors -end -->
227-
228124
## License
229125

230126
MIT

docs/docs/GETTING_STARTED.mdx

+5-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Install [@baronha/react-native-multiple-image-picker](https://www.npmjs.com/pack
4949
<TabItem value="rn">
5050

5151
```bash
52-
yarn add @baronha/react-native-multiple-image-picker react-native-nitro-modules
52+
yarn add @baronha/react-native-multiple-image-picker
53+
yarn add -D [email protected]
5354
cd ios && pod install
5455
```
5556

@@ -58,7 +59,9 @@ cd ios && pod install
5859
<TabItem value="expo">
5960

6061
```bash
61-
npx expo install @baronha/react-native-multiple-image-picker react-native-nitro-modules
62+
npx expo install @baronha/react-native-multiple-image-picker
63+
npx expo install [email protected] -- --dev
64+
npx expo prebuild
6265
```
6366

6467
</TabItem>

docs/docs/SHOWCASE/index.mdx

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
id: showcase
3+
title: Showcase ✨
4+
sidebar_label: Showcase ✨
5+
slug: /showcase
6+
---
7+
8+
import style from './showcase.css'
9+
import data from './showcase.json'
10+
11+
List of used applications with `@baronha/react-native-multiple-image-picker`
12+
13+
> Contributions are welcome! If you have an application that uses `@baronha/react-native-multiple-image-picker`<br/>
14+
> please open a [**Pull Request**](https://github.com/baronha/react-native-multiple-image-picker/tree/master/docs/docs/SHOWCASE/data.json) to add it to the list.
15+
16+
<br />
17+
18+
<div className="showcaseContainer">
19+
{data.map((item, index) => {
20+
return (
21+
<a
22+
key={`showcase-${index}`}
23+
href={item.link}
24+
target="_blank"
25+
className="showcaseItem"
26+
>
27+
<img src={item.banner} alt={item.title} />
28+
<b>{item.title}</b>
29+
<p className="showcaseTagline">{item?.tagline}</p>
30+
</a>
31+
)
32+
})}
33+
</div>

docs/docs/SHOWCASE/showcase.css

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
.showcaseContainer {
2+
display: flex;
3+
/* justify-content: space-between; */
4+
flex-wrap: wrap;
5+
gap: 24px;
6+
}
7+
8+
.showcaseItem {
9+
flex: 1;
10+
color: inherit;
11+
text-decoration: none;
12+
}
13+
14+
.showcaseItem a:hover {
15+
color: red;
16+
text-decoration: none !important;
17+
}
18+
19+
.showcaseItem b {
20+
font-size: 1rem;
21+
22+
}
23+
24+
.showcaseItem .showcaseTagline {
25+
display: -webkit-box;
26+
-webkit-line-clamp: 2;
27+
-webkit-box-orient: vertical;
28+
overflow: hidden;
29+
text-overflow: ellipsis;
30+
margin: 0;
31+
}
32+
33+
@media (max-width: 768px) {
34+
.showcaseItem {
35+
flex: 100%;
36+
margin-right: 0;
37+
}
38+
}
39+
40+
@media (min-width: 992px) {
41+
/* lg */
42+
.showcaseItem {
43+
44+
max-width: 33.333%;
45+
}
46+
}
47+
48+
@media (min-width: 1200px) {
49+
/* xl */
50+
.showcaseItem {
51+
52+
max-width: 33.333%;
53+
}
54+
}
55+
56+
@media (min-width: 1400px) {
57+
/* xxl */
58+
.showcaseItem {
59+
60+
max-width: 33.333%;
61+
}
62+
}
63+
64+
@media (max-width: 480px) {
65+
.showcaseItem {
66+
flex: 100%;
67+
}
68+
}

docs/docs/SHOWCASE/showcase.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"banner": "https://github.com/user-attachments/assets/84ec6432-1557-4649-965c-6100d9c4c12d",
4+
"title": "✨ Binsoo - Photo Filters & Editor",
5+
"link": "https://apps.apple.com/vn/app/binsoo-photo-filters-editor/id6502683720",
6+
"tagline": "Endless aesthetics and effects"
7+
}
8+
]

docs/docusaurus.config.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ const config: Config = {
9494
label: 'Example',
9595
position: 'left',
9696
},
97-
97+
{
98+
href: '/showcase',
99+
label: 'Showcase',
100+
position: 'left',
101+
},
98102
{
99103
href: 'https://github.com/baronha/react-native-multiple-image-picker',
100104
label: 'GitHub',

docs/sidebars.ts

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const sidebars: SidebarsConfig = {
2323
},
2424
items: ['getting-started', 'usage', 'config', 'result'],
2525
},
26-
2726
'crop',
2827
'preview',
2928
'camera',

0 commit comments

Comments
 (0)