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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@timwickstrom/kinesis

v1.0.7

Published

CSS easing tokens designed around behavior and intent. Named for how things feel — haptics, springs, physics, depth, scroll dynamics. Tailwind v4-native, framework-agnostic.

Readme


Kinesis

Motion tokens designed around how things feel.


Stop guessing how math feels.

Great interfaces feel intentional — not because their animations are fast, but because they respond the way physical things do.

Kinesis is a definitive reference for modern UI animation—transforming abstract cubic beziers and CSS linear() physics into a functional design strategy. From standard Tailwind CSS transitions to spatial depth, haptic micro-interactions, and fluid scrollytelling, every easing token is documented with its exact behavioral intent and prescriptive use case.

115 tokens covering haptics, springs, physics, depth, cinematics, scroll dynamics, and retro/novelty aesthetics. Inspired by Apple's fluid motion, Material 3's expressiveness, and modern haptic design principles.

Framework-agnostic. Tailwind v4-native. Designed around behavior, not bezier math.


Install

# npm
npm install @timwickstrom/kinesis

# pnpm
pnpm add @timwickstrom/kinesis

# yarn
yarn add @timwickstrom/kinesis

# bun
bun add @timwickstrom/kinesis

Usage

Tailwind v4

@import "tailwindcss";
@import "@timwickstrom/kinesis/tailwind";

Utility classes wire up automatically:

<div class="transition ease-spring-gentle duration-500">...</div>
<div class="animate-easing-haptic-confirm">...</div>

Recommended Pairing: tailwind-animations

Kinesis handles the easing, but you still need the keyframes. Kinesis works wonderfully out-of-the-box with the tailwind-animations package.

@import "tailwindcss";
@import "@timwickstrom/kinesis/tailwind";
@import "tailwind-animations";

Combine them in your markup for incredibly expressive motion:

<!-- Fades in, moving up slightly, with a satisfying bouncy spring -->
<div class="animate-fade-in-up ease-spring-bouncy animate-duration-[500ms]">
  ...
</div>

Native CSS / Vanilla Web

@import "@timwickstrom/kinesis";

.button {
  transition: all 300ms;
}

.button:active {
  transition-timing-function: var(--ease-haptic-click);
}
// You can also use the CSS variables directly in JS via the Web Animations API
element.animate(
  [{ transform: "translateY(0)" }, { transform: "translateY(-20px)" }],
  {
    duration: 500,
    easing: "var(--ease-spring-gentle)",
  }
);

React & Next.js (Framer Motion)

Works seamlessly with framer-motion (or the newer motion/react):

import { easings } from "@timwickstrom/kinesis/js";
import { motion } from "framer-motion"; // or "motion/react"

export function Component() {
  return (
    <motion.div
      initial={{ opacity: 0, y: 10 }}
      animate={{ opacity: 1, y: 0 }}
      transition={{
        duration: 0.5,
        ease: easings.springBouncy,
      }}
    >
      Hello World
    </motion.div>
  );
}

Vue

<script setup>
import { easings } from "@timwickstrom/kinesis/js";
</script>

<template>
  <Transition
    enter-active-class="transition-all duration-300"
    :style="{ transitionTimingFunction: easings.entrance }"
  >
    <div v-if="show">...</div>
  </Transition>
</template>

Svelte

<script>
  import { easings } from "@timwickstrom/kinesis/js";
  import { fly } from "svelte/transition";

  // Note: Svelte transitions expect a JS easing function, but
  // you can apply the raw strings to inline styles or CSS variables
  let isHovered = false;
</script>

<button
  style:transition-timing-function={easings.hover}
  style:transition-duration="150ms"
  style:transform={isHovered ? 'scale(1.05)' : 'scale(1)'}
  on:mouseenter={() => isHovered = true}
  on:mouseleave={() => isHovered = false}
>
  Hover me
</button>

Exports

| Path | Format | Use Case | | -------------------------------- | ----------- | -------------------------------------- | | @timwickstrom/kinesis | CSS | Raw CSS custom properties (:root {}) | | @timwickstrom/kinesis/tailwind | CSS | Tailwind v4 (@theme {} + @utility) | | @timwickstrom/kinesis/js | ESM + Types | JavaScript object with full JSDoc | | @timwickstrom/kinesis/src | CSS | Unprocessed source |


Token Reference

Each token ships with:

  • @behavior — what it feels like in motion
  • @use — exact UI scenarios it's designed for
  • @timing — recommended duration ranges
  • @typecubic-bezier, linear, or steps

| Category | Tokens | | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Semantic Intent | ease-entrance ease-exit ease-emphasis | | UI Components | ease-ui-drawer ease-ui-modal ease-ui-toast ease-ui-sheet ease-ui-popover ease-ui-overlay | | Foundational Curves | ease-sine-* ease-quad-* ease-cubic-* ease-quart-* ease-quint-* ease-expo-* ease-circ-* ease-back-* | | Physics & Elastics | ease-elastic-* ease-bounce-* ease-spring-* ease-rubber-band ease-pendulum | | Haptic & Tactile | ease-haptic-click ease-haptic-snap ease-haptic-confirm ease-haptic-reject ease-haptic-error ease-haptic-anticipation ease-haptic-slingshot ease-haptic-long-press ease-haptic-swipe | | Design Systems | ease-apple-fluid ease-m3-emphasized ease-fluent-expressive ease-vercel-spark ease-stripe-gloss | | Organic & Ambient | ease-breath ease-pulse ease-flutter ease-wave ease-tide ease-shimmer ease-viscous ease-surface-tension | | Cinematic & Editorial | ease-sigmoid ease-soft-land ease-time-jump ease-slow-burn ease-dramatic-reveal ease-jitter ease-glitch ease-depth | | Mechanical & Industrial | ease-hydraulic ease-piston ease-ratchet ease-gear-lock ease-impact ease-whiplash ease-magnetic-snap | | Spatial / Z-Axis | ease-z-pull ease-z-push ease-z-float ease-z-sink ease-parallax | | Scroll-Driven | ease-scrub-smooth ease-scrub-sticky ease-scroll-snap | | Retro & Discrete | ease-steps-* ease-mario-jump ease-pac-man ease-sonic-dash ease-pinball ease-moonwalk ease-vhs ease-dialup ease-leeroy ease-rickroll ease-harlem-shake ease-turn-down |

Full interactive documentation: timwickstrom.com/projects/kinesis


License

MIT © Tim Wickstrom

Attribution is required when redistributing or integrating Kinesis as part of a commercial product or service. See LICENSE for full terms.