# react-native-social-buttons

> Declarative social button components for React Native.

Latest version **1.4.2** (published 2024-04-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-social-buttons
pnpm add react-native-social-buttons
yarn add react-native-social-buttons
bun add react-native-social-buttons
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.4.2 |
| Published | 2024-04-20 |
| First published | 2019-10-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 146.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 40 |
| Author | Dan Clipca |
| Maintainers | angelxmoreno, dclipca |
| Keywords | react-native, react-component, social, button, buttons, component, react native social buttons |

## Links

- npm: https://www.npmjs.com/package/react-native-social-buttons
- Repository: https://github.com/rnsb-community/react-native-social-buttons
- Homepage: https://github.com/rnsb-community/react-native-social-buttons#readme
- Issues: https://github.com/rnsb-community/react-native-social-buttons/issues
- npm.io page: https://npm.io/package/react-native-social-buttons

## Recent versions

- 1.4.2 (latest) — 2024-04-20
- 1.4.0 — 2024-04-19
- 1.3.0 — 2024-03-28
- 1.2.0 — 2020-10-14
- 1.1.7 — 2020-09-11
- 1.1.6 — 2020-09-11
- 1.1.5 — 2020-07-16
- 1.1.4 — 2020-07-16
- 1.1.3 — 2020-02-17
- 1.1.2 — 2019-12-09
- 1.1.1 — 2019-12-09
- 1.1.0 — 2019-12-09
- 1.0.7 — 2019-12-07
- 1.0.6 — 2019-10-27
- 1.0.5 — 2019-10-27
- … 5 more at https://npm.io/package/react-native-social-buttons/versions

## README

### React Native Social Buttons

![](https://img.shields.io/npm/dm/react-native-social-buttons)
![](https://img.shields.io/npm/v/react-native-social-buttons)
![](https://img.shields.io/github/contributors/virtumonde/react-native-social-buttons)
[![Expo Snack - Try Now](https://img.shields.io/badge/Expo%20Snack-Try%20Now-blue?style=flat&logo=expo)](https://snack.expo.dev/@angelxmoreno/react-native-social-buttons-example)

<p align="center">
    <img src="/assets/with-snapchat.png" />
</p>

## Installation

```bash
yarn add react-native-social-buttons

or

npm install react-native-social-buttons
```

## Try It Live

Explore our buttons in action with a live example on Expo Snack:

[![Expo Snack - Try Now](https://img.shields.io/badge/Expo%20Snack-Try%20Now-blue?style=flat&logo=expo)](https://snack.expo.dev/@angelxmoreno/react-native-social-buttons-example)

Click the badge above to open the project in Expo Snack, where you can view and interact with the components directly in your browser or on your device.

## Basic Usage

```jsx
import React from "react";
import { View } from "react-native";
import { FacebookSocialButton } from "react-native-social-buttons";

export default class App extends React.Component {
  render() {
    return (
      <View>
        <FacebookSocialButton onPress={() => {}} buttonViewStyle={...} logoStyle={...} textStyle={...} />
      </View>
    );
  }
}
```

You can customize the buttons using buttonViewStyle={...}, logoStyle={...} and textStyle={...}

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