warning:this indicator will occupy a whole horizontal space automatically, which means you don't need to set any center props. Just keeping the direction of its parent View is vertical.
prop
type
default
description
size
number
10
dot's size
color
string
'#1e90ff'
indicator's color
dotsNumber
number
5
the number of dots
betweenSpace
number
5
distance between two dots
ColorDotsLoader
prop
type
default
description
size
number
15
each cube's size
betweenSpace
number
7
distance between two dots
color1
string
'#ff4500'(red)
1st color
color2
string
'#ffd700'(yellow)
2nd color
color3
string
'#9acd32'(green)
3rd color
OpacityDotsLoader
prop
type
default
description
size
number
10
dot's size
color
string
'#1e90ff'
indicator's color
betweenSpace
number
5
distance between two dots
speed
number
200
change speed
License
MIT
About
π A friendly loading indicator component for React Native
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.
We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
Learn more.
We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
You can always update your selection by clicking Cookie Preferences at the bottom of the page.
For more information, see our Privacy Statement.
Essential cookies
We use essential cookies to perform essential website functions, e.g. they're used to log you in.
Learn more
Always active
Analytics cookies
We use analytics cookies to understand how you use our websites so we can make them better, e.g. they're used to gather information about the pages you visit and how many clicks you need to accomplish a task.
Learn more