feat: install @vueuse/motion and create spring presets
This commit is contained in:
6
src/utils/motion.ts
Normal file
6
src/utils/motion.ts
Normal 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 },
|
||||
}
|
||||
Reference in New Issue
Block a user