1.0.14 • Published 3 years ago

instant-photo v1.0.14

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

šŸ“· instant-photo

šŸ“ø React component that makes images look like a polaroid picture.

yarn add instant-photo
# or
npm -i instant-photo

Usage

import { InstantPhoto } from 'instant-photo';

<InstantPhoto
    image="https://images.unsplash.com/photo-1648142618804-92f908f93c10"
  />

Size 'small' or 'large' (defaulting to large)

<InstantPhoto
    size="small"
  />

Variants '46mm' or '99mm' (defaulting to 46mm)

<InstantPhoto
    variant="99mm"
  />

Filters 'polaroid' | 'vintage' | 'greyscale' | 'bloom' | 'none' (defaulting to polaroid)

<InstantPhoto
    filter="vintage"
  />

No image, black placeholder film.

<InstantPhoto />

For more examples see src/examples/examples.stories.tsx

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago