1.0.0 • Published 3 years ago

img-shadowizard v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Shadowizard

A simple way to apply box shadow to your images.

installation

npm i img-shadowizard --save

Then ...

import { shadowizard } from "img-shadowizard";

shadowizard({
  shadow_type: "soft",
  padding: false,
});

Options

Img-shadowizard supports 2 options, both of which are optional;

  • shadow_type = hard / soft (Defaults to soft)
  • padding = boolean(Defaults to false)