mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 14:39:30 -07:00
33 lines
830 B
TypeScript
33 lines
830 B
TypeScript
import code from '@/content/Animations/BlobCursor/BlobCursor.vue?raw';
|
|
import type { CodeObject } from '../../../types/code';
|
|
|
|
export const blobCursor: CodeObject = {
|
|
cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/BlobCursor`,
|
|
installation: `npm i gsap`,
|
|
usage: `<template>
|
|
<BlobCursor
|
|
blobType="circle"
|
|
fillColor="#27FF64"
|
|
:trailCount="3"
|
|
:sizes="[60, 125, 75]"
|
|
:innerSizes="[20, 35, 25]"
|
|
innerColor="rgba(255,255,255,0.8)"
|
|
:opacities="[0.6, 0.6, 0.6]"
|
|
shadowColor="rgba(0,0,0,0.75)"
|
|
:shadow-Blur="5"
|
|
:shadowOffsetX="10"
|
|
:shadowOffsetY="10"
|
|
:filterDtdDeviation="30"
|
|
:useFilter="true"
|
|
:fastDuration="0.1"
|
|
:slowDuration="0.5"
|
|
:zIndex="100"
|
|
/>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import BlobCursor from "./BlobCursor.vue";
|
|
</script>`,
|
|
code
|
|
};
|