Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

imageshadower

tanmoysarker6ISC1.0.5

Simple image shadow for non designers

shadow

readme

Image-Shadow

A simple npm package for using shadow effect on images

What is this?

Get perfect shadows every time for the non-designer

Instalation

npm i imageshadower

Then ...

import { imageshadow } from "imageshadow";

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

Options

imageshadow supports 2 options, noth of which are optional: shadow_type - hard | soft (Defaults to soft) padding - boolean (Defaults to false)