Component Boom

This commit is contained in:
David Haz
2025-07-10 15:36:38 +03:00
parent a4982577ad
commit 9b3465b04d
135 changed files with 16697 additions and 60 deletions

View File

@@ -0,0 +1,32 @@
import code from '@content/Backgrounds/LetterGlitch/LetterGlitch.vue?raw'
import type { CodeObject } from '../../../types/code'
export const letterGlitch: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/LetterGlitch`,
usage: `<template>
<div class="letter-glitch-container">
<LetterGlitch
:glitch-colors="['#2b4539', '#61dca3', '#61b3dc']"
:glitch-speed="50"
:center-vignette="false"
:outer-vignette="false"
:smooth="true"
class="w-full h-full"
/>
</div>
</template>
<script setup lang="ts">
import LetterGlitch from "./LetterGlitch.vue";
</script>
<style scoped>
.letter-glitch-container {
width: 100%;
height: 500px;
position: relative;
overflow: hidden;
}
</style>`,
code
}