UINice
ProDesign systemsPro
Site types
Big Tech
Free picks
Hot 100
Design tools
MCP
English
Submit
Sign in
Design tools
All tools
Screenshots & mockups
Social & marketing images
Color
CSS generators
CSS gradient generator
Mesh gradient generator
CSS box shadow generator
CSS button generator
Grain gradient generator
Glassmorphism generator
Neumorphism generator
CSS border-radius generator
CSS clip-path generator
Cubic-bezier & spring easing
CSS animation generator
CSS loader generator
CSS toggle switch generator
CSS text gradient generator
Fluid typography clamp()
CSS text shadow generator
SVG & backgrounds
Typography
Icons & favicons
Image editing
Format conversion

Cubic-bezier & spring easing

.animated-element {
  transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}
Easing engine
Classic motion presets
Design system dot color
Coral FizzPRO→
Output format

Why custom cubic-bezier and CSS spring linear() curves make interfaces feel alive

Default CSS ease and linear transitions make even beautifully designed apps feel sluggish and robotic. Real physical objects never start at top speed instantaneously or stop dead in a single frame—drawers accelerate briskly as you pull them, menus settle gently into place with smooth exponential deceleration, and playful toggles bounce delicately around their resting position like tiny mechanical springs.

Until recently, achieving genuine spring physics on the web forced teams to bundle JavaScript animation runtimes just to move a modal or tooltip. Modern CSS now pairs classic cubic-bezier(x1, y1, x2, y2) curves with the native CSS linear(...) easing function, allowing browsers to run real multi-bounce damped harmonic spring physics right on the compositor thread with zero JavaScript overhead.

This free cubic-bezier and spring easing generator gives you both engines in one clean workspace: tune P1 and P2 bezier control points across six battle-tested UI motion presets (Ease Out, Snappy, Smooth, Overshoot, Anticipate, Gentle), or switch to Spring linear() mode to dial real physics Stiffness, Damping, and Mass while racing your custom curve head-to-head against default linear timing before copying ready-to-ship CSS or Tailwind utilities.

How to craft, preview, and copy custom CSS easing curves in four steps

  1. Select Cubic-Bezier mode for crisp four-point deceleration curves, or switch to Spring linear() mode to synthesize physical damped-oscillator springs in pure CSS.
  2. In Cubic-Bezier mode, click a starting preset (such as Snappy or Overshoot) and fine-tune X1, Y1, X2, and Y2 sliders while watching the tangent handles and SVG curve update live; in Spring mode, dial Stiffness, Damping, and Mass.
  3. Adjust Transition Duration (typically 180ms–350ms for menus and buttons, 450ms–700ms for dramatic spring cards) and click Replay Motion to compare your custom dot directly against the reference linear track below.
  4. Switch Output Format between CSS and Tailwind and press Copy Easing Code to drop the exact transition declaration directly into your component.

Choosing the right motion curve for every interface interaction

Great UI motion stays invisible yet unmistakably crisp because each interaction type matches human expectations:

  • Elements entering the screen (Ease Out / Snappy — e.g. cubic-bezier(0.16, 1, 0.3, 1)): Launch rapidly so the app feels instant, then decelerate smoothly into place.
  • Elements moving across the screen (Smooth — e.g. cubic-bezier(0.4, 0, 0.2, 1)): Accelerate softly from rest and decelerate smoothly to rest—ideal for tab indicators, segmented controls, and layout shuffles.
  • Playful popovers & badges (Overshoot — y1 > 1.0): Briefly glides past 100% before settling cleanly back, lending organic elasticity without heavy JavaScript.
  • Tactile drawers, dialogs & toggles (Spring linear()): Real spring stiffness and damping produce multi-cycle settling physics that cubic-bezier (limited to a single overshoot) cannot express mathematically.

Performance and accessibility guardrails for production web motion

Animate only GPU-composited properties—primarily transform (translate, scale, rotate) and opacity—rather than width, height, top, or left, so even complex CSS linear() spring curves lock cleanly at 60fps or 120fps on ProMotion displays. Keep frequent micro-interactions (hover states, dropdowns, switches) brisk between 150ms and 300ms so power users never wait on animations to finish.

Always respect visitor motion preferences by wrapping expressive overshoot or spring transitions inside @media (prefers-reduced-motion: no-preference), falling back to instant or gentle opacity fades for users sensitive to vestibular motion.

100% browser-local physics solver with zero dependencies

Our damped harmonic oscillator solver, SVG bezier plotter, race track animation preview, and CSS/Tailwind formatter run entirely inside your local browser with zero remote requests, zero sign-up prompts, and zero runtime bundle cost when you paste the generated CSS into production.

Testing both classic cubic-bezier deceleration and physical spring linear() curves side by side against a constant linear reference dot lets designers and frontend engineers agree on exact motion feel in thirty seconds—without shipping kilobytes of JavaScript physics libraries just to animate a dropdown menu, slide-over drawer, or modal card.

Every generated easing rule works cleanly inside CSS transitions, CSS @keyframes animations, and Tailwind utility classes across modern desktop and mobile browsers.

Complete your motion craft with a cohesive UINice design system

Motion personality works hand in hand with visual language—crisp technical interfaces pair naturally with brisk Snappy deceleration (200ms–260ms), editorial sites favor calm Smooth easing, and playful creative tools shine with gentle spring settling. Defining just two or three shared motion tokens (fast micro-interaction, standard layout transition, and expressive spring reveal) keeps an entire web application feeling crafted by one hand.

Click the UINice design system link below the accent swatches to explore real production design systems and carry consistent color, typography, and motion timing tokens across your entire product. Saving your favorite easing curves as reusable CSS custom properties—such as --ease-snappy and --ease-spring—lets every button, dialog, drawer, tooltip, and dropdown menu in your codebase move with unmistakable physical polish, keeping micro-interactions responsive, crisp, and visually consistent across desktop web browsers and mobile touch screens alike.

Questions

Why can Y1 and Y2 go below 0 or above 1 in cubic-bezier()?

X1 and X2 represent time and must stay between 0 and 1, but Y1 and Y2 represent progress—values above 1 create an elastic overshoot bounce while values below 0 create an anticipation pull-back.

What is CSS linear() easing and how does it enable real springs without JavaScript?

Modern CSS linear(0, ..., 1) accepts a list of piecewise progress points sampled directly from a damped spring differential equation, letting browsers animate true multi-bounce springs natively in CSS.

What duration works best for buttons, dropdowns, and modals?

Use 150ms–220ms for buttons and toggles, 220ms–320ms for dropdowns and tooltips, and 350ms–600ms for larger modals or spring physics cards so motion feels responsive rather than sluggish.

Why does the race track show two moving dots?

The top dot animates using your custom cubic-bezier or spring linear() curve while the muted bottom dot moves at constant linear speed over the exact same duration so you immediately feel the acceleration difference.

Are the exported Tailwind ease-[...] utilities compatible with Tailwind v3 and v4?

Yes. Both cubic-bezier(...) and linear(...) values are cleanly formatted with underscores inside Tailwind's arbitrary ease-[...] utility for immediate zero-config compilation.

Related tools

CSS gradient generatorLinear, radial & conic for CSS & TailwindMesh gradient generatorMulti-point radial mesh to CSS, SVG & PNGCSS box shadow generatorSmooth 1–6 layer elevation to CSS & TailwindCSS button generator5 design system button styles to CSS & TailwindGrain gradient generatorInline SVG noise gradient CSS & 1600×900 PNGGlassmorphism generatorFrosted backdrop-filter CSS & Tailwind

Drop by · good things our friends made

Kubai Iconsicons.kubai.design
Open-source icons that move: folders open, bells ring
UINice
How the chart worksSubmit a siteBadgePricingTermsPrivacy PolicyRefund PolicyRequest removal
Every site is reviewed by hand. © 2026