# gl-react-expo

> React Native via Expo implementation of gl-react, an universal React library to write and compose WebGL shaders

Latest version **6.0.0** (published 2026-05-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install gl-react-expo
pnpm add gl-react-expo
yarn add gl-react-expo
bun add gl-react-expo
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2026-05-15 |
| First published | 2017-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 16.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3008 |
| Author | Gaëtan Renaudeau |
| Maintainers | gre |
| Keywords | gl-react, gl, opengl, react, react-native, expo, react-component |

## Links

- npm: https://www.npmjs.com/package/gl-react-expo
- Repository: https://github.com/gre/gl-react
- Homepage: https://github.com/gre/gl-react#readme
- Issues: https://github.com/gre/gl-react/issues
- npm.io page: https://npm.io/package/gl-react-expo

## Dependencies (2)

- [invariant](https://npm.io/package/invariant.md) ^2.2.4
- [webgltexture-loader-expo](https://npm.io/package/webgltexture-loader-expo.md) 2.1.2

## 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

- 6.0.0 (latest) — 2026-05-15
- 5.2.2-next.6 (canary) — 2022-05-31
- 5.1.1-next.0 (next) — 2022-05-28
- 5.2.1 — 2022-05-28
- 5.2.0 — 2022-05-28
- 5.0.0 — 2020-12-26
- 5.0.0-alpha.4 — 2020-12-26
- 4.1.0 — 2020-12-25
- 4.0.2-alpha.3 — 2020-12-23
- 4.0.1 — 2020-01-02
- 4.0.0 — 2020-01-01
- 3.18.0-alpha.2 — 2020-01-01
- 3.18.0-rc.2 — 2020-01-01
- 4.0.0-rc.2 — 2020-01-01
- 3.17.2 — 2019-08-15
- … 33 more at https://npm.io/package/gl-react-expo/versions

## README

# <img width="32" alt="icon" src="https://cloud.githubusercontent.com/assets/211411/9813786/eacfcc24-5888-11e5-8f9b-5a907a2cbb21.png"> gl-react-expo

`gl-react-expo` is the [React Native](https://facebook.github.io/react-native/) via Expo implementation of [gl-react](https://github.com/gre/gl-react), library to write and compose WebGL shaders.

## Camera support

You can enable camera support with this:

```
yarn add expo-camera webgltexture-loader-expo-camera
```

and you just need to load the lib in your entry point:

```
import "webgltexture-loader-expo-camera";
```

## Links

- [Github](https://github.com/gre/gl-react)
- [Cookbook, examples, API](https://gl-react-cookbook.surge.sh)
- [![Join the chat at https://gitter.im/gl-react/Lobby](https://badges.gitter.im/gl-react/Lobby.svg)](https://gitter.im/gl-react/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

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