Lesson 3 - React Native UI Components
Lesson 3 - React Native UI Components
Lesson 3 - React Native UI Components
libraries
(REACT – NATIVE)
1
1
Why use React Native UI Components?
3
Top 5 React Native UI Components in 2023
4
Top 5 React Native UI Components in 2023
5
Top 5 React Native UI Components in 2023
3. Native Base
This project has 19k stars and 2.3k forks on Github. It is an accessible,
utility-first component library that helps build consistent UI across
android, iOS and web.
4. Shoutem UI
With 4.8k stars and 500+ forks on Github, these components
are built to be both composable and customizable. Each
component has a predefined style compatible with the rest of
the Shoutem UI, making it possible to build complex
components.
5. React Native Material UI
Is another set of modular and customizable Material Design
UI components for React Native with 150+ stars on Github
6
React Native Paper
7
Installation
8
Components of React Native Paper
Theming
Icons
ActivityIndicator
Appbar
Avatar
Banner
BottomNavigation
Button
Card
Checkbox
Chip
9
Components of React Native Paper
DataTable
Dialog
Divider
Drawer
HelperText
IconButton
List
Menu
Modal
ProgressBar
RadioButton
Searchbar
Switch 10
Components of React Native Paper
Text
TextInput
ToggleButton
Tooltip
TouchableRipple
11
Theming
https://callstack.github.io/react-native-paper/docs/guides/theming
12
Theming
Applying a theme to the whole app use <PaperProvider>
Use the built-in useTheme() hook to get access to the theme's
variables.
13
Theming
c
c
c
c
c
c
c
c
14
Theming
15
Icons
Remote image
Local image:
16
Icons
17
ActivityIndicator
18
Appbar
A component to display action items in a bar. It can be placed at
the top or bottom.
19
Appbar
A component to display action items in a bar. It can be placed at
the top or bottom.
20
Avatar
Avatar.Icon
Avatar.Image
Avatar.Text
21
Banner
22
BottomNavigation
23
Button
24
Button
Resize Button
25
Card
Card.Title
Card.Content
Card.Cover
Card.Actions
26
DataTable
27
DataTable
28
Divider
29
Drawer
30
Drawer:
• Drawer.CollapsedItem
Collapsed component used to show an action item with
an icon and optionally label in a navigation drawer.
31
HelperText
32
IconButton
33
List
A component used to group list items.
• List.Section
• List.Item
• List.Icon
34
List
List.AccordionGroup
35
List
List.AccordionGroup
36
Menu
Menus display a list of choices on temporary elevated surfaces. Their placement
varies based on the element that opens them.
37
Modal
The Modal component is a simple way to present content above an enclosing
view. To render the Modal above other components, you'll need to wrap it with the
Portal component.
38
Switch
Switch is a visual toggle between two mutually exclusive states — on and off.
39
Text
40
TextInput
41
42