1. motion-ui
Sass library for creating transitions and animations.
motion-ui
Package: motion-ui
Created by: foundation
Last modified: Thu, 17 Aug 2023 19:38:46 GMT
Version: 2.0.5
License: MIT
Downloads: 170,531
Repository: https://github.com/foundation/motion-ui

Install

npm install motion-ui
yarn add motion-ui

Motion UI

   

Install | Demo | Documentation | Releases


CDNJS

💎 The powerful Sass library for creating CSS transitions and animations. The code is a standalone library, used by Foundation for Sites.

Installation

Install Motion UI with npm or Bower.

 npm install motion-ui --save
bower install motion-ui --save

Then to build with Sass (Autoprefixer is required):

 // Add the load path "[modules_folder]/motion-ui/src" to your Sass configuration
@import 'motion-ui';

@include motion-ui-transitions;
@include motion-ui-animations;

Autoprefixer is required for the Sass installation as Motion UI uses unprefixed transition and animation properties. We recommend you to install PostCSS and Autoprefixer.

Or to use the equivalent pre-compiled CSS, import the Motion UI standalone CSS file dist/motion-ui.css or dist/motion-ui.min.css.

To easily transition elements in and out using Motion UI classes, import the Motion UI JavaScript library dist/motion-ui.js or dist/motion-ui.min.js.

See the full installation instructions

Demos

View live demo.

Documentation

View the documentation here.

Develop Locally

 git clone https://github.com/foundation/motion-ui
cd motion-ui
npm install
  • Run npm start to compile test Sass/JS files, and to build the documentation.
    To make changes to the documentation, edit the files under docs/src.
  • Run npm test to run the unit tests.
  • Run npm start dist to compile distribution files.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin