@levita-js/vue
v0.3.1
Published
Vue wrapper for Levita 3D tilt & parallax
Readme
@levita-js/vue
Vue 3 wrapper for Levita — Lightweight 3D tilt & parallax with accelerometer support.
Installation
npm install @levita-js/vueQuick Start
<script setup>
import { Tilt } from "@levita-js/vue";
import "@levita-js/vue/style.css";
</script>
<template>
<Tilt :glare="true" :shadow="true" :max="20">
<div class="card-content">
<h1>Tilt Me!</h1>
</div>
</Tilt>
</template>Documentation
Full options and advanced usage documentation can be found at the main Levita repository.
