Softwr

Mobile Development · head to head

Apache Cordova vs Base UI

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
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

The short version

  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only Base UI lists unstyled primitives.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.

How do Apache Cordova and Base UI differ?

Apache Cordova and Base UI differ on pricing model, platforms and category (Mobile Development against Web Development). Only the attributes on which Apache Cordova and Base UI actually diverge.

Attributes where Apache Cordova and Base UI differ
AttributeApache CordovaBase UI
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsiOS, Android, Windows, macOS, LinuxWeb
CategoryMobile DevelopmentWeb Development

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Base UI.

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 6 only for Base UI. 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 Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in Base UI

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

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Base UI for building a design system where the visual language must be entirely your own. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot Base UI
  • Single codebase for iOS and Androidnot Base UI
  • Prototyping mobile apps with web skillsnot Base UI
  • Accessing device features from JavaScript through pluginsnot Base UI

Base UI

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

Where do Apache Cordova and Base UI fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

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

How much do Apache Cordova and Base UI cost?

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

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

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

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose Base UI if

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

Questions people ask

Is Apache Cordova or Base UI better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Base UI fits building a design system where the visual language must be entirely your own. Apache Cordova starts at Free and Base UI at Free.
Which is cheaper, Apache Cordova or Base UI?
Apache Cordova starts at Free and Base UI at Free.
Does Apache Cordova or Base UI run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Base UI runs on Web.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what Base UI is typically brought in for.
What can Apache Cordova do that Base UI cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. Base UI covers Unstyled primitives, Focus and keyboard management, ARIA state handling, Collision aware positioning.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

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

Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

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.

Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

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.

Share

Related pages

Other head to heads