# react-native-hexagon

> hexagon image for react native apps.

Latest version **0.9.0** (published 2023-03-21) · (MIT AND Apache-2.0) license · 0 weekly downloads

## Install

```sh
npm install react-native-hexagon
pnpm add react-native-hexagon
yarn add react-native-hexagon
bun add react-native-hexagon
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.0 |
| Published | 2023-03-21 |
| First published | 2022-11-28 |
| Weekly downloads | 0 |
| License | (MIT AND Apache-2.0) |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 86.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jafar Jabr |
| Maintainers | jafar.jabr |
| Keywords | react-native, ios, android |

## Links

- npm: https://www.npmjs.com/package/react-native-hexagon
- Repository: https://github.com/jafar-jabr/react-native-hexagon
- Homepage: https://github.com/jafar-jabr/react-native-hexagon#readme
- Issues: https://github.com/jafar-jabr/react-native-hexagon/issues
- npm.io page: https://npm.io/package/react-native-hexagon

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.9.0 (latest) — 2023-03-21
- 0.8.0 — 2023-03-17
- 0.7.0 — 2023-03-16
- 0.6.0 — 2023-01-06
- 0.5.0 — 2022-12-07
- 0.4.0 — 2022-12-02
- 0.3.0 — 2022-11-28
- 0.2.0 — 2022-11-28
- 0.1.0 — 2022-11-28

## README

# react-native-hexagon

hexagon image for react native apps.

## Installation

```sh
npm install react-native-hexagon
```

## Usage

```js
import { HexagonView } from 'react-native-hexagon';

// ...

export default function App() {
  const imgSource = {
    uri: 'https://picsum.photos/200/300.jpg',
    borderColor: '#d3d363',
    borderWidth: 5,
    cornerRadius: 16,
  };
  return (
    <View style={styles.container}>
      <HexagonView style={styles.avatar} source={imgSource} />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
  },
  avatar: {
    height: 232,
    width: 232,
    alignItems: 'center',
    justifyContent: 'center',
  },
});

```

![image](https://firebasestorage.googleapis.com/v0/b/jj-tech.appspot.com/o/react-native-hexagon.png?alt=media&token=1e4ba250-e54a-42bd-9b1a-ad658444f31e
)


## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)

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