feat(text-animations): add GlitchText component

This commit is contained in:
Sahil David
2025-07-12 15:52:35 +01:00
parent af0fa8cc31
commit 2b394c9aae
7 changed files with 313 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
import code from '@/content/TextAnimations/GlitchText/GlitchText.vue?raw';
import type { CodeObject } from '../../../types/code';
export const glitchText: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/GlitchText`,
usage: `<template>
<GlitchText
children="Vue Bits"
:speed="0.5"
:enable-shadows="true"
:enable-on-hover="false"
/>
</template>
<script setup lang="ts">
import GlitchText from "./GlitchText.vue";
</script>`,
code
};