1. Home
  2. /
  3. Vue-motion
  4. /
  5. Scale Up

Scale Up - Vue-motion Typing CST Test

Loading…

Scale Up — Vue-motion Code

Scales up a div from 0.5 to 1

# vue_motion/demo/App2.vue
<template>
	<motion-div :initial="{ scale: 0.5 }" :animate="{ scale: 1 }" style="width:100px;height:100px;background:green;"></motion-div>
</template>

<script>
import { MotionDiv } from 'vue-motion'
export default {
	components: { MotionDiv }
}
</script>

Vue-motion Language Guide

Vue Motion is a physics-based animation library for Vue.js that provides smooth, natural transitions using spring dynamics. It enables reactive, declarative motion tied directly to Vue’s reactivity system.

Primary Use Cases

  • ▸Animating Vue component transitions
  • ▸Interactive UI motions (hover, drag, scroll-based)
  • ▸Animating lists, state changes, and conditional rendering
  • ▸SVG and canvas-style motion in Vue
  • ▸Page transitions for SPA navigation

Notable Features

  • ▸Spring-based physics animations
  • ▸Composable motion APIs for Vue 3
  • ▸Component-based animation wrappers for Vue templates
  • ▸Value interpolation for complex motions
  • ▸Gesture-responsive animations

Origin & Creator

Vue Motion emerged from the Vue ecosystem around 2019-2020, inspired by libraries like React Spring and Framer Motion, and maintained by independent Vue animation contributors.

Industrial Note

Vue Motion is popular in Vue-based dashboards, admin panels, SaaS apps, and interactive UI components where physics-based, smooth animations improve usability and polish.

More Vue-motion Typing Exercises

Simple Fade InFade + ScaleSlide RightSlide UpRotateScale + RotateFade + Slide RightFade + Slide UpBounce Scale

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher