Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
List the important core components of React Native
React Native provides core components that map to native platform views. These components are essential building blocks for creating cross-platform mobile applications.
Core Components Overview
| React Native Component | Android Native View | iOS Native View | Web Browser | Description |
|---|---|---|---|---|
| View - <View> | ViewGroup | UIView | <div> tag | Core container supporting flexbox layout and touch handling |
| Text - <Text> | TextView | UITextView | <p> tag | Displays text with styling and touch event support |
| Image - <Image> | ImageView | UIImageView | <img> tag | Displays images from various sources |
| ScrollView - <ScrollView> | ScrollView | UIScrollView | <div> tag | Scrollable container for components and views |
| TextInput - <TextInput> | EditText | UITextField | <input type="text"> | Input element for user text entry |
Import Statement
To use these core components, import them from 'react-native':
import { View, Text, Image, ScrollView, TextInput } from 'react-native';
Example Implementation
Here's a complete example demonstrating all five core components working together:
import React from 'react';
import { View, Text, Image, ScrollView, TextInput } from 'react-native';
const App = () => {
return (
<ScrollView>
<Text style={{ padding: "10%", color: "green", fontSize: 25 }}>
Welcome to TutorialsPoint!
</Text>
<View>
<Text style={{ padding: "10%", color: "red" }}>
Inside View Container
</Text>
<Image
source={{
uri: '/react_native/images/logo.png',
}}
style={{ width: 311, height: 91 }}
/>
</View>
<TextInput
style={{
height: 40,
borderColor: 'black',
borderWidth: 1,
margin: 10,
paddingHorizontal: 10
}}
defaultValue="Type something here"
/>
</ScrollView>
);
}
export default App;
Component Breakdown
ScrollView: Acts as the parent container, enabling vertical scrolling when content exceeds screen height.
View: Provides layout structure using flexbox properties and groups related components together.
Text: Renders styled text content with support for various typography options.
Image: Displays images from network URIs or local assets with configurable dimensions.
TextInput: Creates interactive input fields for user data entry with customizable styling.
Output

Conclusion
These five core components form the foundation of React Native development. Understanding how they map to native views enables efficient cross-platform mobile app creation with consistent user experiences.
