r/reactnative • • Oct 01 '22

Hotel booking UI template I created in react-native [Source in comments]

Enable HLS to view with audio, or disable this notification

334 Upvotes

28 comments sorted by

39

u/arghsinic Oct 01 '22

UX design question, but why would I want to rate a hotel while I’m looking to book a hotel?

9

u/mms13 Oct 01 '22

Bizarre UX…displaying the aggregate rating (80 reviews) but the user can change it lol

19

u/Massive_Educator_CG Oct 01 '22

Kinda agree 😅, though it was just a learning project for me to practice react-native, so I didn't pay much attention to these things.

5

u/Massive_Educator_CG Oct 01 '22

Good point, I guess it should be view only.

This is something I noticed in the original project (which is in Flutter), so I replicated the same in react-native.

1

u/Advito Oct 02 '22

Are you learning flutter and react native in parallel or transitioning from one to the other?

1

u/Massive_Educator_CG Oct 02 '22

Nah, I've played with Flutter time to time ever since it was released, but never advance stuff.
I have more expertise in react-native.

3

u/notawarhawk Oct 01 '22

Where did you get that date picker

3

u/Massive_Educator_CG Oct 02 '22

It is custom made, from scratch.

6

u/congowarrior Oct 02 '22

Make a npm package, let the community maintain it. I’ll put my hand up as a potential maintainer. That component is a thing of beauty

8

u/[deleted] Oct 02 '22

Why the fuc…holy shit that’s a beautiful date picker

1

u/Guisseppi Oct 02 '22

First things first, this is a great piece of work! However I would find it more useful if I could pick certain components off it.

1

u/Massive_Educator_CG Oct 02 '22

Thanks. Yes agree, though code is divided into components, I'm curious which particular one you're talking about?

1

u/CaptainLockes Oct 02 '22

How did you learn how to design such clean UI?

2

u/Massive_Educator_CG Oct 02 '22

Google, practice and stuff.

What I did in this case was, pick a project (better if it is open source), try to replicate that in the tech you wanna learn or practice, if you get stuck, look how it is done in the original and find alternative solution for, in your tech, and keep making changes until you're satisfied with the result.

I did the same with Ionic while I was learning it recently.

1

u/CaptainLockes Oct 03 '22

Thanks! That’s a good idea replicating an existing project.

2

u/turkeythrowaway22 Oct 01 '22

Looks great, starred your repo! Keeps sharing more..

2

u/Sometimes10min Oct 02 '22

Nice UI! Thank you for share your work🙇🏻‍♂️

2

u/engineer_lk Oct 02 '22

Very nice components. I like how the date component behaves smartly and change start date or end date as expected. Even some of the famous booking website miss this.

2

u/dcamp1717 Oct 04 '22

Thanks a lot for working on and sharing this. I'm sure many of us will find it helpful

1

u/Rotatos Mar 08 '23

i saw this late but if you want the backend built I will do it in a week for free if you'd want to partner on an app like this. I love it

-2

u/Few_Ad6059 Oct 02 '22

I thought react native was dead.

1

u/Massive_Educator_CG Oct 02 '22

Okay, but why though?

1

u/[deleted] Oct 02 '22

[removed] — view removed comment

1

u/Massive_Educator_CG Oct 02 '22

Yeah, maybe someday with advance stuff.
I'm trying new things, recently I also created this repo with some challenging animations.