• Stars
    star
    324
  • Rank 129,708 (Top 3 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pure javascript UI prototype of iOS Spotify for React Native framework.

react-native-spotify-ui

Pure javascript prototype of iOS Facebook UI for React Native framework. This demo only includes the landing page. I will add more views in the future.

Sponsored by Spurwing

img

This repo is sponsored by Spurwing, where their API Makes Adding Scheduling Quick, Reliable and Scalable.

  • Scheduling API
  • Enterprise Scheduling API
  • Scheduling API for Business
  • Scheduling and Calendar Management API
  • Booking API

Check them out here!

Inspiration

I was always amazed by the amazing Spotify UI, and I decided to challenge myself. THe pulling drawer from the bottom was the hardest challenge-- there are so many bugs to combinate pan-responder with other components. Buttons do not respond with PanResponder. If anyone knows a fix, please message me!

[FIX] Now buttons are clickable, thanks to Dan Horrigan's recommendation

  • Regarding the buttons in the PanResponder not working: I believe this is because you have onStartShouldSetPanResponderCapture returning true. I believe this is causing it to capture all touches on the View. Instead you should just have onStartShouldSetPanResponder return true, which will respect PanResponder's touch bubbling algorithm. The PR is pretty good at handling these conflicts in a predictable way most of the time.

    Another option: Make the "Header" of that slide-up View the "handle", so that the user has to start the gesture on that View. This is the way the Spotify app works anyways. You can't swipe down on any part of the scene except the Header.

[FIX] Fixed screen flickering issue with gesture.y0.

The design aspect of this demo belong to Spotify.

Demo

demo

Try it out

Try it with Exponent: https://getexponent.com/@sungwoopark95/react-native-spotify-ui

Run it locally

To install, there are two steps:

  1. Install Exponent XDE following this guide. Also install the Exponent app on your phone if you want to test it on your device, otherwise you don't need to do anything for the simulator.
  2. Clone this repo and run npm install
git clone https://github.com/ggomaeng/react-native-spotify-ui.git spotify

cd spotify
npm install
  1. Open the project with Exponent XDE and run it.

The MIT License (MIT)

Copyright ยฉ 2016 Sung Woo Park

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the โ€œSoftwareโ€), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED โ€œAS ISโ€, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

react-native-card-modal

A pure javascript card modal for React Native framework.
JavaScript
1,040
star
2

react-native-facebook-ui

Pure javascript UI prototype of iOS Facebook for React Native framework.
JavaScript
608
star
3

better-developer-quotes

๐Ÿ’ก A compilation of answers I received from other developers when I asked them--"How do I become a better developer?"
426
star
4

awesome-js

๐Ÿฆ„ A curated list of javascript fundamentals and algorithms
394
star
5

react-native-magazine-listview

A pure javascript magazine listview for React Native framework.
JavaScript
198
star
6

react-native-tetris

A pure javascript game written on react-native framework. Brings the childhood memories back!
JavaScript
143
star
7

react-native-gmail

Pure javascript UI prototype for React Native framework. Custom swipe to archive ListView.
JavaScript
132
star
8

react-native-lottie-minion

BANANA! Minion-themed Interactive Login
JavaScript
116
star
9

react-native-fan-button

Pure javascript fan button that expands with more options when clicked.
JavaScript
108
star
10

react-native-product-page

Pure javascript product page UI prototype for React Native framework.
JavaScript
68
star
11

hophacks2018

https://devpost.com/software/mediblock
JavaScript
64
star
12

react-native-svg-chicken

Animated chicken using Animated and react-native-svg Library, built for React Native framework.
JavaScript
56
star
13

react-native-solitaire

Pure javascript solitaire UI for React Native framework. Intended for practices with PanResponder
JavaScript
50
star
14

react-native-image-card

Simple image-card that shows description when the image is clicked. Pure javascript library for react-native framework.
JavaScript
38
star
15

hophacks2017

JavaScript
30
star
16

react-native-show-password

A creative way to hide/show hidden text value
JavaScript
30
star
17

be-the-rocket

An implementation of the classic Asteroids game using React and Canvas in es6
JavaScript
8
star
18

jhuBOT

chatbot dedicated to hopkins!
JavaScript
4
star
19

persecond

Seoul Aptos Hackathon 2023
JavaScript
4
star
20

ggomaeng

3
star
21

warpcast-chrome-extension

TypeScript
2
star
22

hamcaster

TypeScript
2
star
23

chatcasso

TypeScript
2
star
24

leetcode.com

Collection of leetcode.com solutions in different programming languages. Currently used for learning purposes.
2
star
25

react-native-fastscroll

work in progress
JavaScript
2
star
26

ethglobal-hackathon

TypeScript
2
star
27

hai-bot

testing facebook chat bot
JavaScript
1
star
28

medhacks2018

JavaScript
1
star
29

entity-web-scraper

quick entity scraper for yahcks2017
JavaScript
1
star
30

blm.web

JavaScript
1
star
31

public

1
star
32

isyousafe-next

JavaScript
1
star
33

test-mint.club-v2-sdk

TypeScript
1
star