Mobilecn-UI / nativecn-ui

Beautiful and customizable React Native components
https://nativecn.mintlify.app
MIT License
928 stars 47 forks source link

New component: Select #14

Open okalil opened 7 months ago

okalil commented 7 months ago

Hello, guys. I'm happy that shadcn idea has reached React Native community, and I would like to suggest a few more components that are very commonly used in native mobile apps.

Contribution: new Select component

That's a very common UI control, specially used in forms, since react-native doesn't provide a good picker component out the box, it'll be great to have something like that.

Implementation details:

For showing the options, I suggest using a bottom sheet component since it provides a better visualization than a dropdown, and better touch reach than a centered modal.

bruno-mesquita commented 7 months ago

I believe that using lib react-native-actions-sheet as a base would solve the problem well.

Dheph commented 2 weeks ago

I Create this, pull request : https://github.com/Mobilecn-UI/nativecn-ui/pull/36