react-css-filter

1.0.4 • Public • Published

react-css-filter npm version

A CSS Filter wrapper as a React component.

⚠️ WORK IN PROGRESS!

Usage:

yarn add react-css-filter
  • Import Filter component
  • Declare and pass an effects object with desired filter effects. Please, see CSS Filter documentation for all the options.
import React from 'react'
import Filter from 'react-css-filter'
 
const App = () => (
  <Filter effects={{'drop-shadow': '2px 2px 3px #08C', sepia: '60%'}}>Forever and a day...</Filter>
)

Package Sidebar

Install

npm i react-css-filter

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • agtlucas
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy