
Product
Introducing Socket MCP for Claude Desktop
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
@thevsstech/react-native-skeleton
Advanced tools
SkeletonPlaceholder is a React Native library to easily create an amazing loading effect.
Skeleton is a React Native library to easily create an amazing loading effect. [ANDROID & IOS]
Note: If your project already includes the react-native-linear-gradient you can skip the Step #1
Using yarn:
yarn add react-native-linear-gradient
Using npm:
npm install react-native-linear-gradient --save
If you are running a react-native version below 0.60:
react-native link react-native-linear-gradient
Otherwise:
cd ios
pod install
Using yarn:
yarn add @thevsstech/react-native-skeleton
Using npm:
npm install @thevsstech/react-native-skeleton --save
There are two ways to use this package:
with SkeletonPlacehoder.Item 🆕
import React from "react";
import { View } from "react-native";
import Skeleton from "@thevsstech/react-native-skeleton";
const App = () => {
return (
<Skeleton>
<Skeleton.Item flexDirection="row" alignItems="center">
<Skeleton.Item width={60} height={60} borderRadius={50} />
<Skeleton.Item marginLeft={20}>
<Skeleton.Item width={120} height={20} borderRadius={4} />
<Skeleton.Item
marginTop={6}
width={80}
height={20}
borderRadius={4}
/>
</Skeleton.Item>
</Skeleton.Item>
</Skeleton>
);
};
or with View
import React from "react";
import { View } from "react-native";
import Skeleton from "@thevsstech/react-native-skeleton";
const App = () => {
return (
<Skeleton>
<View style={{ flexDirection: "row", alignItems: "center" }}>
<View style={{ width: 60, height: 60, borderRadius: 50 }} />
<View style={{ marginLeft: 20 }}>
<View style={{ width: 120, height: 20, borderRadius: 4 }} />
<View
style={{ marginTop: 6, width: 80, height: 20, borderRadius: 4 }}
/>
</View>
</View>
</Skeleton>
);
};
Prop | Description | Type | Default |
---|---|---|---|
backgroundColor | Determines the color of placeholder | string | #E1E9EE |
highlightColor | Determines the highlight color of placeholder | string | #F2F8FC |
speed | Determines the animation speed in milliseconds | number | 800 |
Prop | Description | Type | Default |
---|---|---|---|
any | Any view style props was accepted | any |
Any help this module will be appreciated!
FAQs
SkeletonPlaceholder is a React Native library to easily create an amazing loading effect.
The npm package @thevsstech/react-native-skeleton receives a total of 153 weekly downloads. As such, @thevsstech/react-native-skeleton popularity was classified as not popular.
We found that @thevsstech/react-native-skeleton demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.