# react-native-skeleton-content-nonexpo-reanimatedv3
**Repository Path**: appplugin/react-native-skeleton-content-nonexpo-reanimatedv3
## Basic Information
- **Project Name**: react-native-skeleton-content-nonexpo-reanimatedv3
- **Description**: No description available
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-01-03
- **Last Updated**: 2025-01-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## React Native Skeleton Content Nonexpo
> This the not-expo dependant version of [this package](https://github.com/alexZajac/react-native-skeleton-content).
React native Skeleton Content, a simple yet fully customizable component made to achieve loading animation in a Skeleton-style. Works in both iOS and Android.
### New Features
- The package has been rewritten to Hooks and is using the declarative [react-native-reanimated](https://github.com/software-mansion/react-native-reanimated) package for animations
- It now supports nested layouts for children bones, see an example on [this snack](https://snack.expo.io/@alexandrezajac/skeleton-content-demo)
- It finally supports percentages dimensions for bones, for any type of animation!
[](https://travis-ci.org/alexZajac/react-native-skeleton-content-nonexpo) [](https://coveralls.io/github/alexZajac/react-native-skeleton-content-nonexpo?branch=master) [](https://www.npmjs.com/package/react-native-skeleton-content)
- [React Native Skeleton Content](#react-native-skeleton-content)
- [Installation](#installation)
- [Usage](#usage)
- [Props](#props)
- [Examples](#examples)
- [Playground](#playground)
### Installation
```shell script
npm install react-native-skeleton-content-nonexpo
```
> This package requires the `react-native-linear-gradient` package, make sure it's installed and working on your project.
Also install the following peer dependencies as the package depends on them. We prefer you install these dependencies
inorder to prevent double instance errors.
```shell script
npm install react-native-reanimated
```
### Usage
1. Import react-native-skeleton-content:
```javascript
import SkeletonContent from 'react-native-skeleton-content-nonexpo';
```
2. Once you create the SkeletonContent, you have two options:
- **Child Layout** : The component will figure out the layout of its bones with the dimensions of its direct children.
- **Custom Layout** : You provide a prop `layout` to the component specifying the size of the bones (see the [Examples](#examples) section below). Herunder is the example with a custom layout. A key prop is optional but highly recommended.
```javascript
export default function Placeholder() {
return (