1.2.2 • Published 2 months ago

react-native-ui-skel v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

react-native-ui-skel

Alt Text

A simple React Native component that implements a Skeleton UI. It will performance your react-native app and you will get more fps ( this library only works in a bare react-native app ).

if you are using expo, please use this lib: react-native-ui-skel-expo

  1. Install your skel
npm i react-native-ui-skel
  1. install react-native-linear-gradient (if you already have it, jump this step)
npm i react-native-linear-gradient
  1. install new pods (only iOS)
npx pod-install

Usage/Examples

import { Skel } from 'react-native-ui-skel'

<View>
    <Skel 
      height={40} 
      width={300}
      styles={{ borderRadius: 4 }}
    />
</View>

Props

NameTypeDefaultDescription
heightnumberrequiredSkel height
widthnumberrequiredSkel width
durationnumber1000 msDuration of the animation
stylesobject{}The style applied to the Skel
backgroundColorstring#EBEFF5The color of the Skel background
backgroundAnimationColorarray'transparent', 'rgba(0,0,0, 0.03)', 'transparent'The color of the Skel animation (this gives UI touch)

Authors

1.2.2

2 months ago

1.2.1

2 months ago

1.2.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago