npm.io
1.0.0 • Published 5 years ago

img-shadowizard

Licence
ISC
Version
1.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0
Stars
1

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)

Keywords