Softwr

Web Development · head to head

Base UI vs Stimulus

Base UI logo

Base UI

Web Development

Unstyled accessible React primitives built by the teams behind Radix, Material UI and Floating UI

From
Free
Free plan
Yes
Stimulus logo

Stimulus

Web Development

Small JavaScript framework that adds behaviour to existing server rendered HTML

From
Free
Free plan
Yes

The short version

  • Stimulus is an MIT licensed JavaScript framework.
  • Both are free.
  • Only Base UI lists unstyled primitives; only Stimulus lists designed to pair with Turbo in Hotwire.
  • Where Stimulus falls short: does not render templates, so HTML must come from the server or another tool.
  • Prices and features on this page were last checked on 26 November 2026.

How do Base UI and Stimulus differ?

Base UI and Stimulus differ on pricing model. Only the attributes on which Base UI and Stimulus actually diverge.

Attributes where Base UI and Stimulus differ
AttributeBase UIStimulus
Pricing modelOpen source, no licence feeOpen-source

Identical on both: starting price (Free), free tier (Yes), platforms (Web), category (Web Development).

Not yet recorded: founded for Base UI.

Which features does each one have?

They share no listed features; 6 appear only for Base UI and 7 only for Stimulus. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Base UI

  • Unstyled primitives
  • Focus and keyboard management
  • ARIA state handling
  • Collision aware positioning
  • Composable parts
  • Server rendering safe

Only in Stimulus

  • 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

What is each one used for?

Base UI is most often brought in for building a design system where the visual language must be entirely your own; Stimulus for adding small interactions to Rails views. The jobs each tool is most often brought in to do.

Base UI

  • Building a design system where the visual language must be entirely your ownnot Stimulus
  • Applications with an accessibility conformance obligation that need correct behaviour as the foundationnot Stimulus
  • Replacing a styled component library that is being fought rather than usednot Stimulus
  • Teams already writing Tailwind who want behaviour without a second opinion about appearancenot Stimulus

Stimulus

  • Adding small interactions to Rails viewsnot Base UI
  • Progressive enhancement of server rendered pagesnot Base UI
  • Pairing with Turbo for fast page updatesnot Base UI
  • Replacing scattered jQuery codenot Base UI
  • Form and widget behaviour on existing HTMLnot Base UI

Where do Base UI and Stimulus fall short?

Stimulus's most cited limit: does not render templates, so HTML must come from the server or another tool. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Base UI

  • Nothing is styled, so the first weeks produce a functional but unfinished interface, and a team without design capacity will ship something worse looking than a styled library would have given them free
  • The project is young and its APIs have changed between releases, so upgrades need reading rather than accepting, and version pinning is currently a necessity
  • Component coverage is narrower than the mature styled libraries, so date pickers, tables and rich inputs will still come from elsewhere or be built
  • There is no commercial support and no conformance certification to point at, so an organisation that must evidence accessibility still has to commission its own audit
  • Consolidating the Radix and Material UI unstyled efforts here leaves the earlier libraries with an uncertain maintenance future, which is a live risk for the many applications built on Radix through shadcn/ui

Stimulus

  • Does not render templates, so HTML must come from the server or another tool
  • No built in routing, data fetching or client side state management
  • Behaviour is tied to data attributes in markup, which some teams find harder to trace
  • Not a component framework, so large interactive interfaces need other libraries

How much do Base UI and Stimulus cost?

Base UI is free to use; Stimulus is free to use. Plan by plan below, from each vendor's own pricing page.

Base UI

Free
  • Base UIOn request
    • MIT licensed and free for commercial use
    • No paid tier, no enterprise edition and no support contract available
  • Open sourceFree

Stimulus

Free

No published plan breakdown. See the Stimulus review.

Which should you pick?

Choose Base UI if

  • You need unstyled primitives.
  • You want to start without paying.
  • You also want focus and keyboard management.

Choose Stimulus if

  • You need controllers attached through data-controller.
  • You want to start without paying.
  • You also want actions that bind dom events to controller methods.

Questions people ask

Is Base UI or Stimulus better?
Neither clearly leads. Base UI starts at Free and Stimulus at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Base UI or Stimulus?
Base UI starts at Free and Stimulus at Free.
Does Base UI or Stimulus run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Base UI for free?
Both have a free tier, so you can try either at no cost before committing.
What is Base UI best used for?
Base UI is most often used for building a design system where the visual language must be entirely your own, applications with an accessibility conformance obligation that need correct behaviour as the foundation, replacing a styled component library that is being fought rather than used, teams already writing tailwind who want behaviour without a second opinion about appearance. Of those, building a design system where the visual language must be entirely your own and applications with an accessibility conformance obligation that need correct behaviour as the foundation are not what Stimulus is typically brought in for.
What can Base UI do that Stimulus cannot?
Base UI covers Unstyled primitives, Focus and keyboard management, ARIA state handling, Collision aware positioning. Stimulus covers 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.

Answered from the vendors’ own pages

Base UI: Does this replace Radix UI?

It is where much of the same maintenance attention has moved. If you are on Radix, watch its release activity rather than assuming continuity.

Stimulus: What is Stimulus used for?

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.

Source
Base UI: What does it affect for shadcn/ui users?

shadcn/ui components are built on Radix primitives, so the health of Radix is your dependency question, not a theoretical one.

Stimulus: What are the core concepts in Stimulus?

Controllers 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.

Source
Base UI: Is it ready for production?

For the components it covers, yes, provided you pin versions and read release notes. The range is narrower than mature libraries, so check coverage against your needs first.

Stimulus: What licence does Stimulus use?

The GitHub repository states that Stimulus is released under the MIT licence. It is free to use.

Source
Stimulus: Why was Stimulus created?

According 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.

Source
Share

Related pages

Other head to heads