feat: install @vueuse/motion and create spring presets

This commit is contained in:
Your Name
2026-02-18 11:19:52 +02:00
parent 6b7dcc7317
commit 5630751adc
4 changed files with 372 additions and 9 deletions

6
src/utils/motion.ts Normal file
View File

@@ -0,0 +1,6 @@
// Spring presets for @vueuse/motion
export const springPresets = {
snappy: { damping: 20, stiffness: 300 },
smooth: { damping: 15, stiffness: 200 },
popIn: { damping: 12, stiffness: 400 },
}