Socket
Socket
Sign inDemoInstall

motion-ui

Package Overview
Dependencies
1
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    motion-ui

Sass library for creating transitions and animations.


Version published
Weekly downloads
35K
increased by4.23%
Maintainers
3
Install size
138 kB
Created
Weekly downloads
 

Changelog

Source

2.0.5 (17 August 2023)

  • Removed node-sass in favor of DartSass and resolved deprecations
  • Updated the packages and got the build working again.
  • Build works under Node 18.17.1.

Readme

Source

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.

Keywords

FAQs

Last updated on 17 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc