| What it is | Fast, small JavaScript library for DOM traversal, events, animation and Ajax | A modest JavaScript framework for the HTML you already have |
| Kind | Open source | Open source |
| Trust | 0.67 | 0.73 |
| Stars | 60069 | 13102 |
| Last commit | 2026-11-17 | 2026-11-22 |
| Licence | MIT | MIT |
| Pricing | Free and open source | Free and open source |
| Free tier | Yes | Yes |
| Self-hostable | — | — |
| Ways to run it | — | — |
| SOC 2 | — | — |
| HIPAA | — | — |
| SSO | — | — |
| API | — | Yes |
| Plugins | — | — |
| MCP server | — | — |
| Company | OpenJS Foundation | 37signals bootstrapped |
| Features | - HTML document traversal and manipulation
- event handling
- animation
- Ajax
- CSS3 selectors
- cross-browser API
- about 30 kB minified and gzipped
| - controllers connected with data-controller attributes
- actions with data-action (event->controller#method)
- targets with data-*-target attributes
- values stored in data attributes
- lifecycle callbacks when elements connect and disconnect
- works with any DOM update: full loads, Turbo and Ajax
- stimulus-rails installer for import maps or JavaScript bundlers
|
| Limitations | - Only the latest version is supported; 3.x gets critical updates only, and older versions need paid support from third parties.
| - Doesn't render HTML or client-side templates: it adds behaviour to HTML the server already rendered
|