Socket
Socket
Sign inDemoInstall

react-native-ui-skel-expo

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-ui-skel-expo

A simple React Native component that implements a Skeleton UI using Expo.


Version published
Weekly downloads
148
increased by4833.33%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-native-ui-skel-expo

Alt Text

Documentation

A simple React Native component that implements a Skeleton UI. It will performance your react-native app and you will get more fps.

If you are using bare React Native, please use this lib: react-native-ui-skel

  1. Install your skel
npm i react-native-ui-skel-expo
  1. install expo-linear-gradient (if you already have it, jump this step)
npm i expo-linear-gradient

Usage/Examples

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

<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

Keywords

FAQs

Last updated on 04 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc