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: Menu #10

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

New component: Menu #10

okalil opened this issue Feb 2, 2024 · 0 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 Menu component

The Menu component is a very common component that allow users to discover new actions. It's generally composed by a button or icon button that opens a dropdown menu when pressed.

Implementation details:

One option to be discussed would be using Zeego, which uses native elements for composing the menu in each platform.
To make it simple, we can also just use existing react-native components, like Pressable , View and Text.

For reference, NativeBase library includes a component like that: https://docs.nativebase.io/menu

@carlos-garciamoran carlos-garciamoran added the enhancement New feature or request label Feb 13, 2024
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

2 participants