An open API service indexing awesome lists of open source software.

https://github.com/mblode/react-vello

Blazing fast React renderer powered by Vello
https://github.com/mblode/react-vello

Last synced: 4 months ago
JSON representation

Blazing fast React renderer powered by Vello

Awesome Lists containing this project

README

          

# React Vello

**Blazing fast React renderer powered by [Vello](https://github.com/linebender/vello)**








## Demo

Try the live demo.



View demo

## Install

```shell
npm install react-vello react react-dom
```

## Quickstart

```html

```

```tsx
import { Canvas, Rect, Text, createVelloRoot } from "react-vello";

const canvas = document.querySelector("#vello") as HTMLCanvasElement;
const root = createVelloRoot(canvas);

root.render(



Hello Vello


);
```

## Notes

- WebGPU is required; use a browser with WebGPU enabled.
- The WASM renderer ships with the package; no extra setup required.

## License

[MIT](LICENSE.md)

---

Inspired by [react-three-fiber](https://github.com/pmndrs/react-three-fiber), [react-konva](https://github.com/konvajs/react-konva), and [react-pdf](https://github.com/diegomura/react-pdf).