brandnewjinah
react-native-airbnb-clone
JavaScript

Airbnb App Clone Projet

Last updated Apr 30, 2025
47
Stars
13
Forks
0
Issues
0
Stars/day
Attention Score
5
Language breakdown
No language data available.
โ–ธ Files click to expand
README

Airbnb App Clone in React Native

This is my first React Native project done with expo. Demo Video

Desktop version in React can be found here.

Goal

  • Componentize reusable features
  • Learn to utilize popular libraries
  • Add messaging feature using socket.io

Librares used

Features Implemented

Signup and Login

  • Error handling
Home
  • Search filter
  • Calendar
  • Counter
List & Details
  • Fetching data
  • Google maps
  • Image slider
Host
  • Adding images using native ImagePicker
  • Getting current location
Message
  • Creating socket connection
  • Sending and receiving messages

Features componentized

colors

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/config-colors2x.png

Example

import colors from "../config/colors.js";

// inline style <View style={{color: colors.red}} />

// styled components const Container = styled.View color: ${colors.red}

Typography

Font family

--App.js--

const Common = styled.SafeAreaView ${Platform.select({ ios: { fontFamily: &quot;Avenir&quot;, }, android: { fontFamily: &quot;Roboto&quot;, paddingTop: StatusBar.currentHeight, }, })} ;

Types

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/Typography2x.png

Example

import * as Typography from "../config/typography.js";

<Typography.H1 color={colors.red}>Welcome to Airbnb</Typography.H1>

Buttons

Button Types

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/Buttons2x.png

1. Contained Button

2. Outlined Button

3. Icon Button

4. Floating Action Button

5. Text Button

6. Underlined Text Button

Anatomy

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/Buttons</em>Anatomy2x.png

Example

import * as Button from "../components/Button.js";

<Button.BtnContain icon="search" label="Next" labelcolor={colors.white} color={colors.red} size="small" disabled={false} onPress={() => onNavigate()} />

Lists

List Types

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/List2x.png

1. Default list item with contained icon

2. Default list item with icon to the right

3. User list item

List Anatomy

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/List</em>Anatomy2x.png

Example

import * as List from "../components/List.js";

<ListItem.Default title="Title" sec c onPress={() => onNavigate(item.title)} />

<List.UserList title="User Name" sec image={userimage} meta={item.dates} onPress={() => handleNavigation(item)} RightActions={() => ( <DeleteItem onPress={() => handleDelete(item)} /> )} />

Cards

Card Types

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/Cards2x.png

1. Default

2. Review

Card Anatomy

Airbnb%20App%20Clone%20in%20React%20Native%20e414bb4f4fda4b6ca31d864007637f2d/Cards</em>Anatomy2x.png

Example

import * as Cards from "../components/Cards.js";

<Cards.Image image={image} sub="Subheader" title="Title" sec action="View More" onPress={() => console.log(item)} />

Issues to resolve in the future

  • keyboardshouldpersist
  • Typescript

ยฉ 2026 GitRepoTrend ยท brandnewjinah/react-native-airbnb-clone ยท Updated daily from GitHub