{"id":26187,"date":"2016-03-10T21:01:14","date_gmt":"2016-03-10T13:01:14","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=26187"},"modified":"2024-06-20T20:06:48","modified_gmt":"2024-06-20T12:06:48","slug":"animations-transitions-motion-ui","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/","title":{"rendered":"How to Use Motion UI to Enhance Animations and Transitions in Web Design"},"content":{"rendered":"<p>Animations and transitions enable designers to <a href=\"https:\/\/www.hongkiat.com\/blog\/visualizing-change-css-transitions-animations\/\">showcase changes<\/a> and distinguish between different types of content. These moving effects are crucial as they <strong>assist users in recognizing changes<\/strong> on a website; for instance, when a button is clicked and new information is displayed. <a href=\"https:\/\/www.hongkiat.com\/blog\/visualizing-change-css-transitions-animations\/\">Incorporating movement<\/a> into apps and websites not only enhances the visual appeal but also makes the content more intuitive to understand.<\/p>\n<p>Creating animations and transitions can be done from scratch or through <a href=\"https:\/\/www.hongkiat.com\/blog\/css3-animation-tools\/\">the use of libraries or frameworks<\/a>. For those of us in frontend development, the good news is that Zurb, the creators of <a href=\"https:\/\/www.hongkiat.com\/blog\/foundation-6\/\">Foundation<\/a>, in <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/zurb.com\/article\/1409\/introducing-the-new-motion-ui\">October<\/a> released <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/zurb.com\/playground\/motion-ui\">Motion UI<\/a>, their animation and transition library based on <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/sass-lang.com\/\">Sass<\/a>.<\/p>\n<p>Originally part of <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/apps.html\">Foundation for Apps<\/a>, the standalone release of Motion UI has been <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/zurb.com\/article\/1409\/introducing-the-new-motion-ui\">revamped<\/a>, featuring an <strong>animation queueing system<\/strong> and <strong>flexible CSS patterns<\/strong>. It also enhances <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/sites\/docs\/motion-ui.html\">certain components<\/a> within the Foundation framework, like the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/sites\/docs\/orbit.html\">Orbit<\/a> slider, the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/sites\/docs\/toggler.html\">Toggler<\/a> switch, and the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/sites\/docs\/reveal.html\">Reveal<\/a> modal, making it a robust tool.<\/p>\n<p>By the end, you will have a fully dynamic and customizable contact form.<\/p>\n<p>Start building your advanced contact form today!<\/p>\n<p><a href=\"https:\/\/assets.hongkiat.com\/uploads\/html5-css3-contact-form\/html5-css3-contact-form.zip\" class=\"su-button su-button-style-flat\" style=\"color:#FFFFFF;background-color:#2D89EF;border-color:#246ec0;border-radius:0px\" target=\"__blank\" rel=\"noopener nofollow\"><span style=\"color:#FFFFFF;padding:7px 20px;font-size:16px;line-height:24px;border-color:#6cadf4;border-radius:0px;text-shadow:none\"><i class=\"sui sui-external-link\" style=\"font-size:16px;color:#fff\"><\/i>  Download files <\/span><\/a><\/p>\n<h2>Introduction to Motion UI<\/h2>\n<p>While Motion UI is a Sass library, it isn\u2019t necessary to use it with Sass. Zurb offers developers a convenient starter kit that includes just the compiled CSS. This can be downloaded from Motion UI\u2019s <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/zurb.com\/playground\/motion-ui\">home page<\/a>, allowing you to immediately begin prototyping using predefined CSS animation and transition classes.<\/p>\n<p>This starter kit includes not only Motion UI but also the entire Foundation framework. This means you can utilize the <a href=\"https:\/\/www.hongkiat.com\/blog\/building-website-foundation-5\/\">Foundation grid<\/a> and all other features of <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/sites\/docs\/\">Foundation for Sites<\/a> as needed.<\/p>\n<p>Additionally, the starter kit comes with an <code>index.html<\/code> file that facilitates quick testing of the framework.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/starter-kit.jpg\" alt=\"Motion UI Starter Kit with Foundation Framework\" width=\"700\" height=\"339\"><\/figure>\n<p>If you require more complex customization and wish to utilize Motion UI\u2019s extensive Sass mixins, you can opt for the full version, which includes the source <code>.scss<\/code> files. Installation can be done using <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/installation.md\">npm or Bower<\/a>.<\/p>\n<p>The documentation for Motion UI is still in development. You can access the existing guides <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/tree\/master\/docs\">here<\/a> on Github, or even contribute to its improvement.<\/p>\n<h2>Rapid Prototyping Techniques<\/h2>\n<p>To begin prototyping, you can either modify the <code>index.html<\/code> file included in the starter kit or create a new HTML file. While you can develop the layout using the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/sites\/docs\/grid.html\">Foundation grid<\/a>, Motion UI can also function independently without the Foundation framework.<\/p>\n<p>Motion UI includes three primary types of predefined CSS classes:<\/p>\n<ol>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/classes.md\">Transition Classes<\/a> \u2013 These allow for the addition of transitions such as sliding, fading, and hinging effects to HTML elements.<\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/classes.md\">Animation Classes<\/a> \u2013 These enable the implementation of various movements like shaking, wiggling, and spinning.<\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/classes.md\">Modifier Classes<\/a> \u2013 These are used in conjunction with transition and animation classes to modify aspects such as speed, timing, and delay of animations.<\/li>\n<\/ol>\n<figure><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/zurb.com\/playground\/motion-ui\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/effect-list.jpg\" alt=\"List of Effects in Motion UI\" width=\"700\" height=\"312\"><\/a><\/figure>\n<h3>Constructing the HTML Structure<\/h3>\n<p>One of the unique aspects of predefined CSS classes is their versatility beyond just class attributes. For instance, you can <strong>incorporate them into the <code>value<\/code> attribute of the <code>&lt;option&gt;<\/code> tag<\/strong>, or utilize them in your own custom <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developer.mozilla.org\/en\/docs\/Web\/Guide\/HTML\/Using_data_attributes\"><code>data-*<\/code><\/a> attributes.<\/p>\n<p>In the example below, I\u2019ve opted to <strong>differentiate behavior and modifier classes<\/strong>. I\u2019ve applied the <code>slow<\/code> and <code>ease<\/code> modifiers as classes, and established a custom <code>data-animation<\/code> attribute for the <code>scale-in-up<\/code> transition. The effect is triggered by the <code>Click me<\/code> button.<\/p>\n<pre>\r\n&lt;div class=\"transitions\"&gt;\r\n    &lt;button type=\"button\"&gt;Click Me&lt;\/button&gt;\r\n    &lt;img id=\"boom\" data-animation=\"scale-in-up\" class=\"slow ease\" src=\"#\" alt=\"#\"&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Activating Animations and Transitions with jQuery<\/h3>\n<p>Motion UI also includes a compact <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/javascript.md\">JavaScript library<\/a> that can trigger transitions and animations based on specific events.<\/p>\n<p>This library is included in the starter kit under the <code>motion-ui-starter &gt; js &gt; vendor &gt; motion-ui.js<\/code> directory.<\/p>\n<p>It provides a <code>MotionUI<\/code> object with <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/javascript.md#usage\">two methods<\/a>: <code>animateIn()<\/code> and <code>animateOut()<\/code>. These methods can be used to initiate transitions or animations on specific HTML elements, like the <code>&lt;img id=\"boom\"&gt;<\/code> in our example, using jQuery as follows:<\/p>\n<pre>\r\n$(function() {\r\n    $(\".button\").click(function() {\r\n        var $animation = $(\"#boom\").data(\"animation\");\r\n        MotionUI.animateIn($(\"#boom\"), $animation);\r\n    });\r\n});\r\n<\/pre>\n<p>The code snippet above retrieves the <code>data-animation<\/code> attribute using jQuery\u2019s <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/api.jquery.com\/jquery.data\/\"><code>data()<\/code><\/a> method, and then invokes the <code>animateIn()<\/code> method of the <code>MotionUI<\/code> object.<\/p>\n<p>The following iframe showcases the complete code and its output, employing Foundation framework\u2019s built-in <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/get.foundation\/sites\/docs\/button.html\">button classes<\/a> for the <code>Click me<\/code> button along with some basic CSS.<\/p>\n<p><iframe height=\"350\" scrolling=\"no\" src=\"https:\/\/codepen.io\/\/amonus\/embed\/BjbWgZ\/?height=350&theme-id=0&default-tab=result\" frameborder=\"no\" allowtransparency=\"true\" allowfullscreen=\"true\" style=\"width: 100%;\">See the Pen <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/codepen.io\/\/amonus\/pen\/BjbWgZ\/\">Simple Scale-In Transition with Zurb\u2019s Motion UI<\/a> by Anna Monus (<a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/codepen.io\/\/amonus\">@amonus<\/a>) on <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/codepen.io\/\">CodePen<\/a>. <\/iframe><\/p>\n<p>As Motion UI is highly versatile, there are numerous ways to apply and trigger transitions and animations. For example, in the above scenario, instead of using the custom <code>data-animation<\/code> attribute, you could also directly apply the behavior class using jQuery\u2019s <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/api.jquery.com\/addclass\/\"><code>addClass()<\/code><\/a> method to the <code>&lt;img id=\"boom\"&gt;<\/code> element:<\/p>\n<pre>\r\n$('#boom').addClass('scale-in-up');<\/pre>\n<h2>Customizing with Sass<\/h2>\n<p>Motion UI\u2019s ready-to-use CSS classes come with default settings, but you can easily customize these using <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/sass-lang.com\/\">Sass<\/a>. Each transition and animation in Motion UI is controlled by a <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/sass-lang.com\/guide\">Sass mixin<\/a>, allowing for easy adjustments to suit your specific needs, enabling the creation of fully custom animations or transitions.<\/p>\n<p>However, customization is not possible with the starter kit alone; you need to install the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/installation.md#sass-usage\">Sass version<\/a> to tailor the effects as desired.<\/p>\n<p>To begin customizing a transition or animation, first <strong>locate the relevant mixin<\/strong>. The <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/src\/_classes.scss\"><code>_classes.scss<\/code><\/a> file lists the compiled CSS classes along with their corresponding mixins. For example, the <code>.scale-in-up<\/code> class uses the <code>mui-zoom<\/code> mixin:<\/p>\n<pre>\r\n\/\/ Transitions\r\n@mixin motion-ui-transitions {\r\n\r\n...\r\n\r\n\/\/ Scale\r\n.scale-in-up { @include mui-zoom(in, 0.5, 1); }\r\n\r\n... }<\/pre>\n<p>Motion UI employs the <code>mui-<\/code> prefix for its mixins, each contained in its own file. The mixins are named intuitively, making it easy to locate them, such as the <code>mui-zoom<\/code> mixin found in the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/src\/transitions\/_zoom.scss\"><code>_zoom.scss<\/code><\/a> file:<\/p>\n<pre>\r\n@mixin mui-zoom(\r\n$state: in,\r\n$from: 1.5,\r\n$to: 1,\r\n$fade: map-get($motion-ui-settings, scale-and-fade),\r\n$duration: null,\r\n$timing: null,\r\n$delay: null\r\n) { ... }<\/pre>\n<p>This approach allows you to precisely control every aspect of an animation or transition by modifying the Sass variables.<\/p>\n<h2>Tailoring Modifier Classes<\/h2>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/docs\/classes.md\">Modifier classes<\/a> that affect the behavior (speed, timing, and delay) of animations and transitions can be customized in Sass by altering the values in the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/foundation\/motion-ui\/blob\/master\/src\/_settings.scss\"><code>_settings.scss<\/code><\/a> file.<\/p>\n<p>Once you adjust these values, Motion UI applies them as the new defaults across all animations and transitions, eliminating the need to adjust each mixin individually.<\/p>","protected":false},"excerpt":{"rendered":"<p>Animations and transitions enable designers to showcase changes and distinguish between different types of content. These moving effects are crucial as they assist users in recognizing changes on a website; for instance, when a button is clicked and new information is displayed. Incorporating movement into apps and websites not only enhances the visual appeal but&hellip;<\/p>\n","protected":false},"author":146,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[2190,3601],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use Motion UI to Enhance Animations and Transitions in Web Design - Hongkiat<\/title>\n<meta name=\"description\" content=\"Animations and transitions enable designers to showcase changes and distinguish between different types of content. These moving effects are crucial as\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Motion UI to Enhance Animations and Transitions in Web Design\" \/>\n<meta property=\"og:description\" content=\"Animations and transitions enable designers to showcase changes and distinguish between different types of content. These moving effects are crucial as\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-10T13:01:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-20T12:06:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/starter-kit.jpg\" \/>\n<meta name=\"author\" content=\"Anna Monus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Anna Monus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/\"},\"author\":{\"name\":\"Anna Monus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/a601053a0ab457901e00cdc83bd5359e\"},\"headline\":\"How to Use Motion UI to Enhance Animations and Transitions in Web Design\",\"datePublished\":\"2016-03-10T13:01:14+00:00\",\"dateModified\":\"2024-06-20T12:06:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/\"},\"wordCount\":951,\"commentCount\":9,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animations-transitions-motion-ui\\\/starter-kit.jpg\",\"keywords\":[\"sass\",\"zurb\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/\",\"name\":\"How to Use Motion UI to Enhance Animations and Transitions in Web Design - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animations-transitions-motion-ui\\\/starter-kit.jpg\",\"datePublished\":\"2016-03-10T13:01:14+00:00\",\"dateModified\":\"2024-06-20T12:06:48+00:00\",\"description\":\"Animations and transitions enable designers to showcase changes and distinguish between different types of content. These moving effects are crucial as\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animations-transitions-motion-ui\\\/starter-kit.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/animations-transitions-motion-ui\\\/starter-kit.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/animations-transitions-motion-ui\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use Motion UI to Enhance Animations and Transitions in Web Design\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/a601053a0ab457901e00cdc83bd5359e\",\"name\":\"Anna Monus\",\"description\":\"Anna is Technical Editor and Writer for Hongkiat.com. She mainly covers front-end frameworks, web standards, accessibility, WordPress development, and UX design.\",\"sameAs\":[\"https:\\\/\\\/www.annalytic.com\\\/\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/anna_monus\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use Motion UI to Enhance Animations and Transitions in Web Design - Hongkiat","description":"Animations and transitions enable designers to showcase changes and distinguish between different types of content. These moving effects are crucial as","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Motion UI to Enhance Animations and Transitions in Web Design","og_description":"Animations and transitions enable designers to showcase changes and distinguish between different types of content. These moving effects are crucial as","og_url":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2016-03-10T13:01:14+00:00","article_modified_time":"2024-06-20T12:06:48+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/starter-kit.jpg","type":"","width":"","height":""}],"author":"Anna Monus","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Anna Monus","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/"},"author":{"name":"Anna Monus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/a601053a0ab457901e00cdc83bd5359e"},"headline":"How to Use Motion UI to Enhance Animations and Transitions in Web Design","datePublished":"2016-03-10T13:01:14+00:00","dateModified":"2024-06-20T12:06:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/"},"wordCount":951,"commentCount":9,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/starter-kit.jpg","keywords":["sass","zurb"],"articleSection":["Coding"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/","url":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/","name":"How to Use Motion UI to Enhance Animations and Transitions in Web Design - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/starter-kit.jpg","datePublished":"2016-03-10T13:01:14+00:00","dateModified":"2024-06-20T12:06:48+00:00","description":"Animations and transitions enable designers to showcase changes and distinguish between different types of content. These moving effects are crucial as","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/starter-kit.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/animations-transitions-motion-ui\/starter-kit.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/animations-transitions-motion-ui\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use Motion UI to Enhance Animations and Transitions in Web Design"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/a601053a0ab457901e00cdc83bd5359e","name":"Anna Monus","description":"Anna is Technical Editor and Writer for Hongkiat.com. She mainly covers front-end frameworks, web standards, accessibility, WordPress development, and UX design.","sameAs":["https:\/\/www.annalytic.com\/"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/anna_monus\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-6On","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/26187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/146"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=26187"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/26187\/revisions"}],"predecessor-version":[{"id":72155,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/26187\/revisions\/72155"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=26187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=26187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=26187"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=26187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}