Merge branch 'main' into feat/true-focus

This commit is contained in:
David
2025-07-12 10:05:54 +03:00
committed by GitHub
9 changed files with 1016 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
import code from '@content/TextAnimations/ScrollFloat/ScrollFloat.vue?raw'
import type { CodeObject } from '../../../types/code'
export const scrollFloatCode: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollFloat`,
usage: `<template>
<ScrollFloat
:children="scrollText"
:animation-duration="animationDuration"
:ease="ease"
:scroll-start="scrollStart"
:scroll-end="scrollEnd"
:stagger="stagger"
:container-class-name="containerClassName"
:text-class-name="textClassName"
:scroll-container-ref="{ current: containerRef }"
:key="rerenderKey"
/>
</template>
<script setup lang="ts">
import ScrollFloat from "./ScrollFloat.vue";
</script>`,
code
}