Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cdrani/react-image-effects

:star: react component that adds effects to images
https://github.com/cdrani/react-image-effects

image-effects react

Last synced: 2 months ago
JSON representation

:star: react component that adds effects to images

Awesome Lists containing this project

README

        

# react-image-effects

> A small, customizable react component that adds effects to images.



NPM


NPM


npm


JavaScript Style Guide


Circle CI Status


Maintainability



### Install

`npm i react-image-effects`

or

`yarn add react-image-effects`

### Usage

```js
import ImageEffect from 'react-image-effects'

const Example = () => (




Daytona




)
```

### Properties

| Prop | Type | Required | Default |
| :------- | :----- | :------- | :------ |
| `url` | string | yes | |
| `effect` | enum | no | 'none' | |
| `width` | string | no | '600px' | |
| `height` | string | no | '300px' |

### Effects

Please reference documentation site to visualize the effects.

- [x] airbrush
- [x] chalkboard
- [x] collage
- [x] colored-chalkboard
- [x] colored-pencil
- [x] emboss
- [x] flannel
- [x] hallucination
- [x] infrared
- [x] low-ink-h
- [x] low-ink-v
- [x] mirror-h
- [x] mirror-v
- [x] mosaic
- [x] night-vision
- [x] none
- [x] pencil
- [x] photo-border
- [x] selective-color
- [x] warhol
- [x] watercolor

### Documentation

See the effects via storybook:
[react-image-effects](https://react-image-effects.now.sh)

### Development

**server**

`yarn storybook`

or

`npm run storybook`

storybook server will be opened on [localhost:8000](localhost:8000)

**build**

`yarn storybook:build`

or

`npm run storybook:build`

### Contributing

PRs are welcome.

### License

MIT © | [@cdrani](https://github.com/cdrani)