<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/J05jJSYVU" -->

---
title: Create a crazy input interaction with lax.js. 🤪 | daily.dev
description: Lax.js is a JavaScript library to create smooth & beautiful animations when you scroll. Lax is really, really small. When gzipped, it's less than 4 kilobytes...
canonical: https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js--j05jjsyvu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Create a crazy input interaction with lax.js. 🤪 | daily.dev
og:description: Lax.js is a JavaScript library to create smooth & beautiful animations when you scroll. Lax is really, really small. When gzipped, it's less than 4 kilobytes...
og:url: https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js--j05jjsyvu
og:image: https://api.daily.dev/og/posts/J05jJSYVU.png
og:image:alt: Create a crazy input interaction with lax.js. 🤪
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a crazy input interaction with lax.js. 🤪

**[daily.dev](https://daily.dev/sources/daily)** · 19 upvotes · 4 comments

## Summary

Lax.js is a JavaScript library to create smooth & beautiful animations when you scroll. Lax is really, really small. When gzipped, it's less than 4 kilobytes in size! It has a new JS animation syntax for advanced animation combinations to work on. animations can be given a kick of interia while scrolling. You can create custom CSS bindings.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js>

## Community discussion

Top comments from developers on daily.dev.

**@ghost** · 1 upvotes

> Hey everyone! I'm the author of this article. Feel free to ask questions regarding the same. :)

**@berkmann18** · 0 upvotes

> That's an interesting library. Nice!

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#css](https://daily.dev/tags/css)

[View this post on daily.dev](https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js--j05jjsyvu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Create a crazy input interaction with lax.js. 🤪","url":"https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js--j05jjsyvu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js--j05jjsyvu"},"datePublished":"2020-12-11T13:25:08.271Z","dateModified":"2021-10-07T14:17:10.317Z","description":"Lax.js is a JavaScript library to create smooth \u0026 beautiful animations when you scroll. Lax is really, really small. When gzipped, it's less than 4 kilobytes...","image":"https://media.daily.dev/image/fetch/s--13W2zUAr--/f_auto,pg_1,q_auto/https://assets.website-files.com/5e0f1144930a8bc8aace526c/5fd36eaaa376ee5e45331602_mwpi83wttgun4borcrdi%2520%281%29.gif?_a=BAMAMiZY0","thumbnailUrl":"https://media.daily.dev/image/fetch/s--13W2zUAr--/f_auto,pg_1,q_auto/https://assets.website-files.com/5e0f1144930a8bc8aace526c/5fd36eaaa376ee5e45331602_mwpi83wttgun4borcrdi%2520%281%29.gif?_a=BAMAMiZY0","isAccessibleForFree":true,"articleSection":"daily.dev","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"daily.dev","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/daily2","url":"https://daily.dev/sources/daily"},"commentCount":4,"discussionUrl":"https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js--j05jjsyvu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":19},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":4}],"keywords":"javascript,css"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"daily.dev","item":"https://daily.dev/sources/daily"},{"@type":"ListItem","position":3,"name":"Create a crazy input interaction with lax.js. 🤪"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/create-a-crazy-input-interaction-with-lax-js--j05jjsyvu","comment":[{"@type":"Comment","text":"Hey everyone! I’m the author of this article. Feel free to ask questions regarding the same. :)","datePublished":"2020-12-11T14:00:07.228Z","url":"https://daily.dev/posts/J05jJSYVU#c-57HvLMHUy","author":{"@type":"Person","name":"Deleted user","url":"https://daily.dev/ghost","image":"https://media.daily.dev/image/upload/s--hNIUzLiO--/f_auto/v1705327420/public/ghost_vlftth"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"That’s an interesting library. Nice!","datePublished":"2020-12-21T16:26:43.460Z","url":"https://daily.dev/posts/J05jJSYVU#c-crB3g2jCg","author":{"@type":"Person","name":"Maximilian Berkmann","url":"https://daily.dev/berkmann18","image":"https://avatars0.githubusercontent.com/u/8260834?v=4"}}]}
```

