npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@washingtonpost/motion-tokens

v1.9.1

Published

WaPo Motion Tokens

Downloads

2,727

Maintainers

luke.connorsluke.connorswrneffwrneffmcdohmcdohfloresafloresalavanderoilavanderoitaliatrackimtaliatrackimtomkaz-wapotomkaz-wapoaggyjleeaggyjleeemmakumeremmakumervonoehsenevonoehseneani512ani512lennybronnerlennybronnerln-washpostln-washpostjorgemhc-devjorgemhc-devbitsoglassbitsoglassit_procurementit_procurementsabrinamochisabrinamochiseanwaposeanwapolorenzoglorenzogjchaskelljchaskelldavidchaiwapodavidchaiwapoagillespieagillespiemartinezymartinezytam.stephtam.stephcolemanc4colemanc4luciovillaluciovilladucroquetducroquetthreeteaspoonsthreeteaspoonsmaddoxnelsonmaddoxnelsonstephanie.clarkstephanie.clarkjasonvuongjasonvuongjkoo87jkoo87kankelcrkankelcrgregoryauld2014gregoryauld2014uncompileduncompiledjbrown4jbrown4scarothersscarotherskhan.salauddinkhan.salauddinrowhawnrowhawnsubs-npm-buildersubs-npm-buildernealhumphreywaponealhumphreywapoashlynstillashlynstillptnielsenptnielsenleslie-sleslie-scourtney-kancourtney-kankevin.schaulkevin.schauljakecrumpjakecrumpmacallahmacallahjmuyskensjmuyskensmadisonwallsmadisonwallsdsantamarinadsantamarinaartmsilvaartmsilvaashtolashtolsberhanusberhanujjalcantarajjalcantaraalyssa.fowersalyssa.fowersjoemfoxjoemfoxreubenfbreubenfbcalcantaracalcantaraadrianblancoadrianblancochiquiestebanchiquiestebaniuraizeeiuraizeebdgrossbdgrossulmonicaulmonicabmferrillbmferrilldankeatingdankeatingtimmekotimmekokevinuhrmacherkevinuhrmachershellytanshellytanharrystevensharrystevenschrisrukanchrisrukanallisonnmannallisonnmannaaronsteckelbergaaronsteckelbergcarsonologycarsonologyshruthagandlashruthagandlabrafordabrafordafernandowzfernandowzadityajain15adityajain15linorabolinilinorabolinianthonyjpesceanthonyjpesce1313davidlee1313davidleekate.rabinowitzkate.rabinowitzfontcfontccecepascualcecepascualyuyanleiyuyanleivsingarayarvsingarayararamzsaramzsruxkruxknader_heidarinader_heidarithompsond3thompsond3tylerremmeltylerremmeltmac0201tmac0201mahigmahigjoemoore-postjoemoore-postealvarez79ealvarez79hdormidohdormidosgpottssgpottsyutaochenyutaochennwalker_wpnwalker_wpapbestapbestbriannaschroerbriannaschroershikha-subshikha-subnaemanaemachloemeisterchloemeisterjulia.ledurjulia.ledursolomonsscottsolomonsscottbetchavarriabetchavarriaeewrighteewrightcourthcourthnickkirkpatricknickkirkpatricktrann_wapotrann_wapodbnappdbnapptobefrankhjtobefrankhjessiekimessiekimsergio.pecanhasergio.pecanhameganwaltermeganwalteralyssabartuchalyssabartuchalexisbarnesalexisbarneskarenwangkarenwangdmoriarty6dmoriarty6mokhtar.alimokhtar.alidpham5dpham5klimenkovdklimenkovddavisshaverdavisshaverwelchkwelchkasamireissaasamireissakastningjkastningjpranavganorepranavganoreterrywpterrywphermionewyhermionewyamiemunozamiemunozsheamus-heisheamus-heinick.mourtoupalasnick.mourtoupalasshrddhawashpostshrddhawashpostwp-abergwp-abergmarcnahedmarcnahedandrevincandrevincdreyvitserdreyvitserval-l-hoslerval-l-hoslerstevefuenteswpstevefuenteswpadamsrobwadamsrobwjesse.post.washpojesse.post.washporamyalamatiramyalamatiebgrangerebgrangerbroadwaternebroadwaternerekha26rekha26jacknugent27jacknugent27ksemanur8ksemanur8danacasidydanacasidyhaysstephaniehaysstephaniebenjakibenjakiarturgalochaarturgalochajamelhendricksjamelhendrickskat-alokat-alomjperalesmjperalesjtotoolejtotoolejakekarajakekarajon.rosadojon.rosadoarnolda-wparnolda-wpchelseaconradchelseaconradmvoneshmvoneshvithalanisvithalanistimborisenkotimborisenkolukaskeelwapolukaskeelwapojanicekchenjanicekchensadbumblebeesadbumblebeetriticotriticohelmschelmscatomictangerineatomictangerinelmelgarlmelgarjuniorh28juniorh28mariaalconadabrooksmariaalconadabrookskatty-huertaskatty-huertaskrbrookskrbrooksnatalievinebergnatalievinebergaadittambeaadittambenauticaharvinnauticaharvintuckabelletuckabelleemily.engemily.enghaileyhaymondhaileyhaymondlpadillac4slpadillac4sgengelgengelcrunchwrap78crunchwrap78talpert022talpert022stericsonstericsonharmanwapoharmanwaposotojlsotojljosevazqueznpmjosevazqueznpmkt-prrykt-prryavalbuenaavalbuenanicrocsnicrocsniko_komniko_komtab00tab00marcostarafwashpostmarcostarafwashpostjosephjamesjosephjamesdgreen19dgreen19carlyncarlynalvaror2walvaror2wkarklislkarklislclau8aclau8ajmiguelfloresgjmiguelfloresgvladimirjvvladimirjvtawaddytawaddyalvarovalinoalvarovalinoalefkowalefkowysmildeysmildenetolm-wpnetolm-wpallidinatallidinatmark-a-wapomark-a-wapoflaviopsantannawapoflaviopsantannawapojondavenportwapojondavenportwapomichaeldominemichaeldomineashendrukashendrukgiomarwizegiomarwizedev-javudev-javucatherine1234catherine1234vviswavviswacashackcashackdnparmardnparmargregmanifoldgregmanifoldhannah.goodhannah.goodmalocuevimalocuevilmnalandlmnalandericlauericlaumballenwp1mballenwp1chen-joshchen-joshjoshhoegenjoshhoegenhrechthrechtdiegodisantdiegodisantmoodypmoodypfransandifransandinikki.brimmernikki.brimmerdwuandjunedwuandjunezhoyoyozhoyoyoelenalaceyelenalaceydkaodkaostevethedevstevethedevbenjamin.djangbenjamin.djangamayaverdeamayaverdelindojlindoj

Keywords

Readme

Motion

Motion design should derive from our core design principles. Inspiration for motion design is rooted in the design of the printing press — the machine that brings our paper to life.

The printing press has a sequence of motions that build upon each other to deliver the final product to the reader. Likewise, motion in our products should serve a purpose. Motion builds on the user experience through intelligent feedback and brings our products to life. Motion helps guide our users through their experience.

Direction, Weight & Force

The various parts of the printing press — gears, knobs, and levers — each have distinct direction and weight. They move along a fixed axis and connect to the overall machine which produces the paper. When designing for motion, think of the UI elements as physical objects, each with its own force applied to it.

Weighted UI Types

The printing press's parts vary widely in size and shape. Some are small and move fast, while others are big and require great force to drive them. Some parts have a massive influence despite being quite small— these include elements like levers and switches. Parts are weighted by their importance and as a result act similar to heavier objects.

  • Direction - is defined by the input from a user (drag, swipe, scroll).
  • Weight - is defined size or influence of UI element.
  • Force - is the relationship of weight and direction resulting in a motion.

Timing & Delay

When adding timing to your animations, always use multiples of 100ms. The shortest duration should be 200ms. To increase duration, multiply 100ms by a "modifier". A modifier is a whole number — also known as an "integer." Read on to learn more about timing.

Timing in animation comes down to feel. Sometimes a short amount of time is desirable because it increases the visual speed. Sometimes a bit more time is better because it provides a more subtle transition. Whenever choosing the duration of timing and delays, always consider the following:

Delta size

Delta means "change." Ask yourself: How big is the change? How significantly is your object rotating, scaling, or moving from its original state? The larger the delta, the more time is likely needed to avoid a rough transition.

Quantity of elements

How many elements are going to be moving at the same time? How many different directions will they be traveling in? If you have lots of elements moving at the same time, consider a longer duration. This helps to avoid visual overload and confusion.

Sequence

If an element is a part of a sequence of motions, carefully consider whether more or less time is needed. Objects should move in a logical order and not move at a pace that overwhelms the user.