Daily Link Aggregating from the Best Design & Showcase Sites
15,856 Links to Search From


A Ghost Store

Posted by Awwwards - 2 days ago
Are you ready to check out? Introducing A Ghost Store, a transcendent shopping experience.

Animation in Design Systems

Posted by 24 Ways - 7 days ago

Sarah Drasner drops down on the sofa, turns on the TV and puts on some Christmas classics. Yes, it’s time to talk animation, and not just any animation, but how you prescribe and document animation in your design systems. Perhaps you’ll be moved to make some changes.


Brought to you by The CSS Layout Workshop. Does developing layouts with CSS seem like hard work? How much time could you save without all the trial and error? Are you ready to really learn CSS layout?


Our modern front-end workflow has matured over time to include design systems and component libraries that help us stay organized, improve workflows, and simplify maintenance. These systems, when executed well, ensure proper documentation of the code available and enable our systems to scale with reduced communication conflicts.

But while most of these systems take a critical stance on fonts, colors, and general building blocks, their treatment of animation remains disorganized and ad-hoc. Let’s leverage existing structures and workflows to reduce friction when it comes to animation and create cohesive and performant user experiences.

Understand the importance of animation

Part of the reason we treat animation like a second-class citizen is that we don’t really consider its power. When users are scanning a website (or any environment or photo), they are attempting to build a spatial map of their surroundings. During this process, nothing quite commands attention like something in motion.

We are biologically trained to notice motion: evolutionarily speaking, our survival depends on it. For this reason, animation when done well can guide your users. It can aid and reinforce these maps, and give us a sense that we understand the UX more deeply. We retrieve information and put it back where it came from instead of something popping in and out of place.

“Where did that menu go? Oh it’s in there.”

For a deeper dive into how animation can connect disparate states, I wrote about the Importance of Context-Shifting in UX Patterns for CSS-Tricks.

An animation flow on mobile.

Animation also aids in perceived performance. Viget conducted a study where they measured user engagement with a standard loading GIF versus a custom animation. Customers were willing to wait almost twice as long for the custom loader, even though it wasn’t anything very fancy or crazy. Just by showing their users that they cared about them, they stuck around, and the bounce rates dropped.

14 second generic loading screen.
22 second custom loading screen.

This also works for form submission. Giving your personal information over to an online process like a static form can be a bit harrowing. It becomes more harrowing without animation used as a signal that something is happening, and that some process is completing. That same animation can also entertain users and make them feel as though the wait isn’t as long.

Eli Fitch gave a talk at CSS Dev Conf called: “Perceived Performance: The Only Kind That Really Matters”, which is one of my favorite talk titles of all time. In it, he discussed how we tend to measure things like timelines and network requests because they are more quantifiable–and therefore easier to measure–but that measuring how a user feels when visiting the site is more important and worth the time and attention.

In his talk, he states “Humans over-estimate passive waits by 36%, per Richard Larson of MIT”. This means that if you’re not using animation to speed up how fast the wait time of a form submission loads, users are perceiving it to be much slower than the dev tools timeline is recording.

Reign it in

Unlike fonts, colors, and so on, we tend to add animation in as a last step, which leads to disorganized implementations that lack overall cohesion. If you asked a designer or developer if they would create a mockup or build a UI without knowing the fonts they were working with, they would dislike the idea. Not knowing the building blocks they’re working with means that the design can fall apart or the development can break with something so fundamental left out at the start. Good animation works the same way.

The first step in reigning in your use of animation is to perform an animation audit. Look at all the places you are using animation on your site, or the places you aren’t using animation but probably should. (Hint: perceived performance of a loader on a form submission can dramatically change your bounce rates.)

Not sure how to perform a good audit? Val Head has a great chapter on it in her book, Designing Interface Animations, which has of buckets of research and great ideas.

Even some beautiful component libraries that have animation in the docs make this mistake. You don’t need every kind of animation, just like you don’t need every kind of font. This bloats our code. Ask yourself questions like: do you really need a flip 180 degree animation? I can’t even conceive of a place on a typical UI where that would be useful, yet most component libraries that I’ve seen have a mixin that does just this.

Which leads to…

Have an opinion

Many people are confused about Material Design. They think that Material Design is Motion Design, mostly because they’ve never seen anyone take a stance on animation before and document these opinions well. But every time you use Material Design as your motion design language, people look at your site and think GOOGLE. Now that’s good branding.

By using Google’s motion design language and not your own, you’re losing out on a chance to be memorable on your own website.

What does having an opinion on motion look like in practice? It could mean you’ve decided that you never flip things. It could mean that your eases are always going to glide. In that instance, you would put your efforts towards finding an ease that looks “gliding” and pulling out any transform: scaleX(-1) animation you find on your site. Across teams, everyone knows not to spend time mocking up flipping animation (even if they’re working on an entirely different codebase), and to instead work on something that feels like it glides. You save time and don’t have to communicate again and again to make things feel cohesive.

Create good developer resources

Sometimes people don’t incorporate animation into a design system because they aren’t sure how, beyond the base hover states. All animation properties can be broken into interchangeable pieces. This allows developers and designers alike to mix and match and iterate quickly, while still staying in the correct language. Here are some recommendations (with code and a demo to follow):

Create timing units, similar to h1, h2, h3. In a system I worked on recently, I called these t1, t2, t3. T1 would be reserved for longer pieces, down to t5 which is a bit like h5 in that it’s the default (usually around .25 seconds or thereabouts). Keep animation easings for entrance, exit, entrance emphasis and exit emphasis that people can commonly refer to. This, and the animation-fill-mode, are likely to be the only two properties that can be reused for the entrance and exit of the animation. Use the animation-name property to define the keyframes for the animation itself. I would recommend starting with 5 or 6 before making a slew of them, and see if you need more. Writing 30 different animations might seem like a nice resource, but just like your color palette having too many can unnecessarily bulk up your codebase, and keep it from feeling cohesive. Think critically about what you need here.

See the Pen Modularized Animation for Component Libraries by Sarah Drasner (@sdras) on CodePen.

The example above is pared-down, but you can see how in a robust system, having pieces that are interchangeable cached across the whole system would save time for iterations and prototyping, not to mention make it easy to make adjustments for different feeling movement on the same animation easily.

One low hanging fruit might be a loader that leads to a success dialog. On a big site, you might have that pattern many times, so writing up a component that does only that helps you move faster while also allowing you to really zoom in and focus on that pattern. You avoid throwing something together at the last minute, or using a GIF, which are really heavy and mushy on retina. You can make singular pieces that look really refined and are reusable.

React and Vue Implementations are great for reusable components, as you can create a building block with a common animation pattern, and once created, it can be a resource for all. Remember to take advantage of things like props to allow for timing and easing adjustments like we have in the previous example!

Responsive

At the very least we should ensure that interaction also works well on mobile, but if we’d like to create interactions that take advantage of all of the gestures mobile has to offer, we can use libraries like zingtouch or hammer to work with swipe or multiple finger detection. With a bit of work, these can all be created through native detection as well.

Responsive web pages can specify initial-scale=1.0 in the meta tag so that the device is not waiting the required 300ms on the secondary tap before calling action. Interaction for touch events must either start from a larger touch-target (40px × 40px or greater) or use @media(pointer:coarse) as support allows.

Buy-in

Sometimes people don’t create animation resources simply because it gets deprioritized. But design systems were also something we once had to fight for, too. This year at CSS Dev Conf, Rachel Nabors demonstrated how to plot out animation wants vs. needs on a graph (reproduced with her permission) to help prioritize them:

This helps people you’re working with figure out the relative necessity and workload of the addition of these animations and think more critically about it. You’re also more likely to get something through if you’re proving that what you’re making is needed and can be reused.

Good compromises can be made this way: “we’re not going to go all out and create an animated ‘About Us’ page like you wanted, but I suppose we can let our users know their contact email went through with a small progress and success notification.”

Successfully pushing smaller projects through helps build trust with your team, and lets them see what this type of collaboration can look like. This builds up the type of relationship necessary to push through projects that are more involved. It can’t be overstressed that good communication is key.

Get started!

With these tools and good communication, we can make our codebases more efficient, performant, and feel better for our users. We can enhance the user experience on our sites, and create great resources for our teams to allow them to move more quickly while innovating beautifully.


About the author

Sarah is an award-winning Speaker, Consultant, and Staff Writer at CSS-Tricks. Sarah is also the co-founder of Web Animation Workshops, with Val Head. She’s given a Frontend Masters workshop on Advanced SVG Animations, and is working on a book for O’Reilly on SVG Animations. She’s formerly Manager of UX Design & Engineering at Trulia (Zillow).

Last year Sarah won CSS Dev Conf’s “Best of Best of Award” as well as “Best Code Wrangler” from CSS Design Awards. She has worked for 15 years as a web developer and designer, and at points worked as a Scientific Illustrator and a Undergraduate Professor.

More articles by Sarah

Drummonds

Posted by cssdsgn - 2 weeks ago

Awesomed

Posted by One Page Love - 2 weeks ago
Gorgeous One Page portfolio featuring slick load transitions and hover effects for design agency, Awesomed. The One Pager was built using JS framework Vue.js that actually enable One Page applications. However the issue demonstrated here is the Case Studies change your browser URL and promote a back button to a home page. In the updated […]

Amaiò

Posted by cssdsgn - 3 weeks ago

Rmagazine

Posted by CSS Design Awards - 4 weeks ago
Rmagazine is a lifestyle digital magazine entirely directed by ROLA, one of Japanese biggest celebrities.

Witty Cookie

Posted by Best Web Gallery - 1 month ago

EWA

Posted by CSS Design Awards - 1 month ago
Here is the promo-site describing app functionality and providing a possibility to test your English.

Comics of the Week #389

Posted by Web Designer Depot - 1 month ago
Every week we feature a set of comics created exclusively for WDD. The content revolves around web design, blogging and funny situations that we encounter in our daily lives as designers. These great cartoons are created by Jerry King, an award-winning cartoonist who’s one of the most published, prolific and versatile cartoonists in the world […]

Moving announcement

Posted by Featured / by - 2 months ago
Just the cutest character design ever for the moving announcement of The Woork Co. Nifty idea huh?? _______ Seems like everyone had a hard time identifying with the purple blob – lol.

Accademia Belle Arti di Catania

Posted by Media Queri.es - 3 days ago

Twitter Launches a Redesign

Posted by Web Designer Depot - 1 week ago
Twitter is launching a redesign of its iOS, Android, TweetDeck and Twitter Lite apps. The redesign is intended to make the service “feel lighter, faster, and easier to use” and features a number of changes that mean an update is pending for twitter.com too. As with any redesign, there’s some good, some bad, and some […]

Popular Design News of the Week: June 5, 2017 – June 11, 2017

Posted by Web Designer Depot - 2 weeks ago
Every week users submit a lot of interesting stuff on our sister site Webdesigner News, highlighting great content from around the web that can be of interest to web designers.  The best way to keep track of all the great stories and news being posted is simply to check out the Webdesigner News site, however, […]

Ivy Yu

Posted by 365 Awesome Designers - 2 weeks ago

4 Smart Ways to Use Illustration in UI Design

Posted by Web Designer Depot - 3 weeks ago
As the saying goes, a picture is worth a thousand words. Human beings are highly visual creatures able to process visual information almost instantly—90 percent of all information that we perceive and that gets transmitted to our brains is visual. A single image can convey more to the observer than an elaborate block of text. […]

Belle Epoque

Posted by Awwwards - 4 weeks ago
Belle Epoque is a digital agency based in Paris. We are specialized in design, SEO and development.

Mausoleum of Augustus

Posted by Awwwards - 1 month ago
An interactive journey through the Mausoleum of Augustus and the history of Rome, in 12 interactive chapters.

Moments of Happiness

Posted by CSS Design Awards - 1 month ago
A series of playful WebGL experiments made to make you smile.

Flatstudio

Posted by css Drive - Gallery - 1 month ago

Cody Sielawa

Posted by 365 Awesome Designers - 2 months ago

Honders/ Alting

Posted by css Drive - Gallery - 3 days ago

Supercharge Your Site With a CDN

Posted by Web Designer Depot - 1 week ago
As a web designer, you already know that great design is essential for a website—it’s the concept of design you trust, unless a website looks absolutely amazing, it’s going to be hard for new visitors to trust that site. That’s how essential great design is to a website. However, there’s another essential part of having […]

Victoire Douy

Posted by Site Inspire - 2 weeks ago

View | Direct link

Eldar Khalibauri

Posted by 365 Awesome Designers - 3 weeks ago

Together – Finland 100

Posted by Featured / by - 3 weeks ago
Together is the theme adopted by Finland to celebrate 100 years of existence. Fabulously designed by Kokoro & Moi.

SPACE10

Posted by cssdsgn - 4 weeks ago

WikiCards

Posted by Emily Chang - eHub - 1 month ago
A free tool that helps users organize any kind of collections. A collection can be a set of contacts, documents, tasks, hour records, software bugs, todos, photos, recipes and many others. URL: WikiCards

Maison Luzzardi

Posted by cssdsgn - 1 month ago

The Young Creatives' space

Posted by Awwwards - 1 month ago
The young creatives' space is a disruptive art piece, where photography meets advanced technologies. It features +100 rising creatives to discover in a surreal & ephemeral atmosphere.

Sitecraft

Posted by One Page Love - 2 months ago
Steampunk-style One Pager filled with detailed illustrations for digital studio, Sitecraft. The honest About Us blurb is very cool. Not your modern colorful-gradient-filled design and I really appreciate it. Great to see studios going their own way. Kudos.

Anggit Yuniar Pradito

Posted by 365 Awesome Designers - 4 days ago

Plume

Posted by One Page Love - 1 week ago
'Plume' is a robust HTML template with 7 awesome One Page layout options. Layouts cover apps, books, landing pages, resumes, digital services, weddings and my favorite (featured here) is the product layout. As this is an HTML template you'd link the buy buttons to external stores like Shopify or Gumroad. Other highlights include AJAX-working contact […]

Brand Agency

Posted by One Page Love - 2 weeks ago
'Brand Agency' is a One Page WordPress theme suited for a freelancer of digital agency portfolio. The long-scrolling template features a sticky header navigation allowing your reader to smooth scroll between the sections. Features include intro slider, services, skills graph, work process section, portfolio with big image popup and category filter, newsletter sign up, team, […]

Popular Design News of the Week: May 29, 2017 – June 4, 2017

Posted by Web Designer Depot - 3 weeks ago
Every week users submit a lot of interesting stuff on our sister site Webdesigner News, highlighting great content from around the web that can be of interest to web designers.  The best way to keep track of all the great stories and news being posted is simply to check out the Webdesigner News site, however, […]

Nick Jones Design and Code

Posted by Awwwards - 3 weeks ago
Portfolio

Mario Hugo

Posted by Site Inspire - 4 weeks ago

View | Direct link

AGI

Posted by Site Inspire - 1 month ago

View | Direct link

Hjem | wood arkitektur+design

Posted by Site Inspire - 1 month ago

View | Direct link

100+ iPad Mockups: PSDs, Photos & Vectors

Posted by Design Shack - 1 month ago
For displaying your latest and greatest responsive website design, or app interface, having a beautiful iPad mockup on which to demonstrate it can be really helpful. Today, we’re taking a look at almost a hundred different iPad and tablet mockups, in all shapes and sizes, that can make your app or website interface stand out. […]

oneA - STORM SYSTEM

Posted by CSS Design Awards - 2 months ago
A digital showroom experience for an architectural ceiling mounting system, that enhances the products minimal beauty and design.

OsloDeco

Posted by Web Creme - 6 days ago

Les Petites Culottées

Posted by Awwwards - 2 weeks ago
A women's underwear brand inspired by women. Panties that respond to a momentary need or desire, the here and now. Made in Paris, France. The latest way to wear the panties.

Improve Your Design, Using Hotjar to Really Understanding Your Visitors

Posted by Web Designer Depot - 2 weeks ago
Being a designer is tough: you can spend months crafting the perfect experience, ensuring your usability is inclusive, writing careful copy, testing on every browser known to man—even the copy of IE on that old laptop that props open the studio door; then you check your analytics and discover that your labor has resulted in […]

Comics of the Week #392

Posted by Web Designer Depot - 3 weeks ago
Every week we feature a set of comics created exclusively for WDD. The content revolves around web design, blogging and funny situations that we encounter in our daily lives as designers. These great cartoons are created by Jerry King, an award-winning cartoonist who’s one of the most published, prolific and versatile cartoonists in the world […]

7 Ways to Design at Lightning Speed (and Still Be Good)

Posted by Web Designer Depot - 4 weeks ago
Some of the world’s best designers – and even the best designers where you work – all have something in common: Many of them know how to work at lightning speed. And the work is still good. While part of this speed work comes with experience, some of it is comes back to solid work […]

Nordic.design

Posted by One Page Love - 4 weeks ago
Vibrant One Pager with a lovely subtle parallax effect in the background for the upcoming 'Nordic.design' event to be held in Stockholm in September. Lovely touch with the illustrated speakers and event team.

The Future of Mobility

Posted by Site Inspire - 1 month ago

View | Direct link

Brutalism: A New Trend in Web Design

Posted by Design Shack - 1 month ago
Some designs aren’t polished and clean. They are rough, jarring and ragged. Yet they still work and communicate effectively. This class of websites makes up the raw trend called brutalism. While it is somewhat new to web concepts, it’s been around for decades as a popular technique for posters and art in the 1950s, 60s […]

Westy

Posted by One Page Love - 1 month ago
'Westy' is a One Page E-Commerce WordPress Theme with a unique wild west design. The Landing Page is integrated with the powerful free WooCommerce plugin that offers all the functionality you'll need to sell your products. The AJAX loading extra product info is particularly impressive, keeping the user within the site before final checkout. Features […]

pq by Ron Arad

Posted by Awwwards - 2 months ago
A new amazing website for the antiordinary collection of the designer Ron Arad. Design inspired by the innovative dna of the company who is disrupting the eyewear industry compromises.