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.
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
andText
.For reference, NativeBase library includes a component like that: https://docs.nativebase.io/menu