Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/luukdv/gooey-react

The gooey effect for React, used for shape blobbing / metaballs (0.5 KB) 🧽
https://github.com/luukdv/gooey-react

animation blobs effect goo gooey gooeyeffect graphics metaballs react reactjs shape svg svg-filter svg-filters

Last synced: about 2 months ago
JSON representation

The gooey effect for React, used for shape blobbing / metaballs (0.5 KB) 🧽

Awesome Lists containing this project

README

        


Preview



The gooey effect for React

The 'gooey effect' has been made popular by various (amazing) blogposts over the years. This tiny component makes it easy to use within React, and has improved the implementation. It's optimized to be as sharp/crisp as possible, since existing implementations can be a bit blurry. Safari support (which can be notorious, and is usually missing) has been added as well.

## Installation (~0.5 KB)
```sh
npm install gooey-react
```

## Usage
```jsx
import Goo from 'gooey-react'

…
```
You can put regular HTML elements inside `Goo`, but using an SVG is recommended for better browser support. Shape blobbing will be applied to everything within the component.

[Visit the website](https://gooey-react.netlify.app/) for full documentation, properties and examples.