Stimulus vs Alpine.js
Alpine.js: Declares behaviour inline in HTML with a small footprint, an alternative for light interactivity

Small JavaScript framework that adds behaviour to existing server rendered HTML
As of 20 November 2026, Stimulus is free to use. Stimulus is an MIT licensed JavaScript framework from 37signals that attaches controllers to existing HTML through data attributes, part of Hotwire. Softwr lists it under Web Development. Stimulus is made by 37signals, launched in 1999, available on Web.
Overview
Stimulus is a JavaScript framework for adding behaviour to HTML that a server has already rendered. It is described by its maintainers as a modest framework for the HTML you already have. Developers annotate elements with a data-controller attribute, and Stimulus finds the matching controller class, creates an instance and connects it to the element. Three further concepts complete the model: actions connect controller methods to DOM events through data-action attributes, targets locate important elements inside a controller, and values read, write and observe data attributes. State lives in the HTML rather than in a client side store. The project came out of Basecamp at 37signals, where it replaced a mix of jQuery, vanilla JavaScript and ad hoc object oriented code, and it is designed to be used alongside Turbo within the Hotwire family. It suits teams building server rendered applications, for example with Ruby on Rails, who want light interactivity without a single page application stack. It is free and released under the MIT licence, so there are no plans or fees. Stimulus does not render templates, manage routing or provide client side data fetching and state management, so applications that need a component based user interface, server side rendering of JavaScript components or heavy client state will need a different tool or additional libraries.
The honest half
The limits buyers hit most with Stimulus: does not render templates, so HTML must come from the server or another tool; and no built in routing, data fetching or client side state management. Each is concrete and checkable: the half of a review a vendor will not write.
Cross-shopped
The closest alternatives to Stimulus are Alpine.js, HTMX and Vue.js. Each is a tool buyers genuinely weigh against it, with the reason why.
Alpine.js: Declares behaviour inline in HTML with a small footprint, an alternative for light interactivity
HTMX: Handles server driven updates through HTML attributes with little custom JavaScript
Vue.js: Component framework that can be added progressively to existing pages when more structure is needed
Svelte: Compiler based component framework for interfaces that outgrow attribute driven controllers
React: Component library for client rendered interfaces and large interactive applications
Capabilities
Stimulus lists 7 features, including works with server rendered HTML, designed to pair with Turbo in Hotwire and MIT licensed open source.
Controllers attached through data-controller
Actions that bind DOM events to controller methods
Targets for locating elements inside a controller
Values that read, write and observe data attributes
Works with server rendered HTML
Designed to pair with Turbo in Hotwire
MIT licensed open source
Answered, with sources
Each answer names the page it came from, so you can check it rather than take our word for it.
Stimulus enhances HTML that already exists on the page by connecting JavaScript controllers to elements through data attributes. It does not generate the HTML itself.
SourceControllers are the main unit, and they are joined by actions, targets and values. Actions link events to methods, targets find elements and values store state in data attributes.
SourceThe GitHub repository states that Stimulus is released under the MIT licence. It is free to use.
SourceAccording to the project's origin page, Basecamp used a mix of jQuery, vanilla JavaScript and object oriented subsystems that were hard to reuse and learn. Stimulus condensed those patterns into a small, consistent framework.
SourceBehind it
Stimulus is made by 37signals, founded in 1999 and based in Chicago, United States.
Keep looking
Lightweight JavaScript framework for composing dynamic behavior in HTML
Lightweight JavaScript library enabling AJAX, WebSockets, and server-sent events in HTML
The original CSS framework for responsive, mobile-first sites
Full-stack meta-framework for SolidJS with fine-grained reactivity
A modern, fast, high-performance web framework for building APIs with Python
One-page website builder for small businesses and creators
Softwr does not host reviews and shows no star rating for Stimulus, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.
What people switch to, and what they give up
Every tier, and where the cost actually lands
Put it head to head with anything we hold
Its rating, and an embed for your own site
MIT licensed toolchain for building reusable Web Component libraries in TypeScript
open-sourceDrag-and-drop website builder with hosting, e-commerce and marketing bundled into one subscription
Per site per month