A customizable and lightweight skeleton loader component for React Native, built using the Animated API. Perfect for loading placeholders and improving user experience during content fetch.
npm install @arslan95/react-native-skeleton-loaderA customizable and lightweight skeleton loader component for React Native, built using the Animated API. Perfect for loading placeholders and improving user experience during content fetch.
!npm version
!license
!downloads
---
You can install the package via Yarn:
``bash`
yarn add @arslan95/react-native-skeleton-loader
---
You can start using Skeleton loader in your project like this:
``tsx
import React from 'react';
import { View, StyleSheet } from 'react-native';
import Skeleton from '@arslan95/react-native-skeleton-loader';
const MyComponent = () => {
return (
);
};
const styles = StyleSheet.create({
container: {
padding: 20,
},
skeleton: {
marginTop: 10,
}
});