Skip to content

🗒️ A Vue library to create realistic peeling effects

License

Notifications You must be signed in to change notification settings

anatolykopyl/vue-peel

 
 

Repository files navigation

Vue Peel

About

This is a Vue wrapper around the peel.js library originally created by Andrew Plummer in 2014.

Getting Started

Installation

npm install vue-peel

Basic usage

<template>
  <Peel 
    drag
    :peel-position="{ x: 150, y: 150 }"
  >
    <template #top>
      Top
    </template>
    <template #back>
      Back
    </template>
    <template #bottom>
      Bottom
    </template>
  </Peel>
</template>

<script setup>
  import Peel from 'vue-peel'
  import 'vue-peel/style.css'
</script>

Languages

  • JavaScript 90.6%
  • Vue 6.7%
  • TypeScript 1.4%
  • CSS 1.3%