Migrate <ShapeBlur />

This commit is contained in:
David Haz
2025-07-12 18:34:29 +03:00
parent af0fa8cc31
commit 52ad446958
5 changed files with 490 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
import code from '@content/Backgrounds/ShapeBlur/ShapeBlur.vue?raw';
import type { CodeObject } from '../../../types/code';
export const shapeBlur: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/ShapeBlur`,
installation: `npm install three`,
usage: `<template>
<ShapeBlur
:variation="0"
:pixel-ratio-prop="2"
:shape-size="1.2"
:roundness="0.4"
:border-size="0.05"
:circle-size="0.3"
:circle-edge="0.5"
class="shape-blur-effect"
/>
</template>
<script setup lang="ts">
import ShapeBlur from "./ShapeBlur.vue";
</script>`,
code
};