Sticker Peel

Customize StickerPeel

Width200px
Rotate30°
Peel Back Hover %20%
Peel Back Active %40%
Shadow Intensity0.6
Lighting Intensity0.1
Initial X Position-100
Initial Y Position100

Props

PropertyTypeDefaultDescription
imageSrcstring-The source URL or path of the sticker image.
widthnumber200The width of the sticker in pixels.
rotatenumber30The initial rotation angle of the sticker in degrees.
peelBackHoverPctnumber20The percentage of peel back when hovering over the sticker.
peelBackActivePctnumber40The percentage of peel back when the sticker is active/clicked.
shadowIntensitynumber0.6The intensity of the shadow effect (0-1).
lightingIntensitynumber0.1The intensity of the lighting effect (0-1).
initialPositionobject{ x: 0, y: 0 }The initial x and y position of the sticker.
classNamestring""Additional CSS classes for the component.
styleReact.CSSProperties{}Inline styles for the component.

Dependencies

gsap

Created with ❤️ by Cybershoora