# react-native-snow-bg

> React Native Snow animated background component

Latest version **1.0.0** (published 2021-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-snow-bg
pnpm add react-native-snow-bg
yarn add react-native-snow-bg
bun add react-native-snow-bg
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-01-10 |
| First published | 2021-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Epicode Marek Sadura |
| Maintainers | msadura |
| Keywords | react, native, react-native, snow, christmas, winter, weather |

## Links

- npm: https://www.npmjs.com/package/react-native-snow-bg
- Repository: https://github.com/msadura/react-native-snow-bg
- Homepage: https://github.com/msadura/react-native-snow-bg#readme
- Issues: https://github.com/msadura/react-native-snow-bg/issues
- npm.io page: https://npm.io/package/react-native-snow-bg

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2021-01-10

## README

# react-native-snow-bg
React Native animated snow background theme. Snowlakes have randomized style - look, opacity, size and position and custom animation - fall, rotation and "shake" movement from left to right.

It can be used for ios and android as nice winter theme addition!

![](Example/snow-bg.gif)

# Usage
Install module:
```
npm install --save react-native-snow-bg
```

or

```
yarn add react-native-snow-bg
```

Add it to any View in you app:
```js
import Snow from 'react-native-snowflakes';

export default function App() {
  return (
    <View>
      ...
      <Snow fullScreen snowflakesCount={100} fallSpeed="medium" />
    </View>
  );
}
```

# Snow props
| Props                | Type          | Description  | Default      |
| --------------------- |:-------------:| ------------ | ------------ |
| `snowflakesCount` | `Integer`     | How many snowflakes to render.      |`100` |
| `fallSpeed`  | `slow` , `medium`, `fast`     | How fast snowflakes will fall.| `medium`         |
| `fullScreen`    | `Boolean`     | If `true` component will always take screen width and height. If `false` it will take 100% parent width and height. Usefult if  you want snow background to fill jsut a part of your screen.      | `false` |

# React Native Epicode Academy
This package is a part of [React Native Epicode Academy](https://www.youtube.com/channel/UCjeodJlopQe4b91Y-uS18Ow) YouTube series.

---
_Source: https://npm.io/package/react-native-snow-bg · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
