What are Core Components?
Core components are pre-built React components that map directly to native platform UI components. When you use a React Native component, React Native invokes the corresponding native component on iOS and Android.Essential Components
Layout Components
View
The most fundamental component for building UI. A container that supports layout with flexbox, style, and touch handling.
ScrollView
A scrollable container that can host multiple components and views.
Content Components
Text
A component for displaying text.
Image
A component for displaying images from various sources.
Input Components
TextInput
A foundational component for inputting text via keyboard.
Component Hierarchy
React Native components follow a hierarchy:Key Concepts
Props
All React Native components accept props to customize their behavior and appearance. Common props include:style- Styling using React Native’s style systemtestID- Identifier for testingaccessible- Accessibility configuration
Styling
Components use thestyle prop with StyleSheet API or inline styles. React Native uses flexbox for layout.