Added <Orb /> background

This commit is contained in:
Utkarsh-Singhal-26
2025-07-15 18:43:14 +05:30
parent 62a59b64f5
commit 16a8664a00
5 changed files with 457 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
import code from '@content/Backgrounds/Orb/Orb.vue?raw';
import type { CodeObject } from '../../../types/code';
export const orb: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Orb`,
installation: `npm i ogl`,
usage: `<template>
<div class="relative w-full h-[600px]">
<Orb :hoverIntensity="0.5" :rotateOnHover="true" :hue="0" :forceHoverState="false" />
</div>
</template>
<script setup lang="ts">
import Orb from "./Orb.vue";
</script>`,
code
};