Merge branch 'main' into feat/image-trail

This commit is contained in:
Utkarsh Singhal
2025-07-14 20:09:48 +05:30
committed by GitHub
5 changed files with 514 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import code from '@/content/Animations/MetaBalls/MetaBalls.vue?raw';
import type { CodeObject } from '../../../types/code';
export const metaBalls: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/MetaBalls`,
installation: `npm i ogl`,
usage: `<template>
<MetaBalls
color="color"
cursorBallColor="cursorBallColor"
:cursorBallSize="cursorBallSize"
:ballCount="ballCount"
:animationSize="animationSize"
:enableMouseInteraction="enableMouseInteraction"
:enableTransparency="true"
:hoverSmoothness="hoverSmoothness"
:clumpFactor="clumpFactor"
:speed="speed"
/>
</template>
<script setup lang="ts">
import MetaBalls from "./MetaBalls.vue";
</script>`,
code
};