Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New component: Select #14

Open
okalil opened this issue Feb 2, 2024 · 2 comments
Open

New component: Select #14

okalil opened this issue Feb 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@okalil
Copy link

okalil commented Feb 2, 2024

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
Copy link

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

@carlos-garciamoran carlos-garciamoran added the enhancement New feature or request label Feb 13, 2024
@Dheph
Copy link
Contributor

Dheph commented Aug 28, 2024

I Create this, pull request : #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants