w2ui says it has no dependencies and pins jquery anyway
UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).
At a glance
- What is it?
- w2ui is a JavaScript UI library that builds grids, forms, tabs, toolbars, sidebars, popups and layouts from JSON data structures. Two headline claims in its own page do not line up with what the repository root contains: the dependency free 2.0 build, and the release state of version 2.0 itself.
- Who is it for?
- w2ui is a reasonable library to read and a risky one to adopt blind, because the page and the repository disagree about the two facts that decide adoption: whether you still need jQuery, and whether 2.0 is finished. Check package.json rather than the About section for the dependency answer, check the release list rather than Road to 2.0 for the version answer, and assume the documentation you land on from any component link describes the 1.5 branch.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 12 days ago.
- What is it written in?
- Mainly JavaScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- vitmalina/w2ui2,741 ★ · -2
| Repository | 2026-10-04 | 2026-11-25 |
|---|---|---|
| vitmalina/w2ui | 2.7k | 2.7k |
-2 Stars in the last 52 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
package.json keeps a jquery entry the page says is gone
Two statements sit at the top of the w2ui page. One says W2UI v.2 no longer requires jQuery as a dependency, and the other, in the About section, says the library has NO DEPENDENCIES as of v2.0 and that every demo has been updated to work as ES6 modules without any dependencies. The workspace manifest says something different, because the only entry under dependencies is jQuery at 3.5 or newer.
"dependencies": {
"jquery": ">=3.5"
},Nothing else needs installing to build or ship that one package, so the entry reads as a leftover of the 1.5 line rather than a live requirement, but it is the only evidence a package manager sees. The root of the repository also holds w2ui.jquery.json, a second package file whose purpose the page never explains. Both statements can be true at once if you read them as describing different builds, yet the page presents one library, one download and one pair of files, w2ui.js with w2ui.css or their minified twins, with all controls and css classes defined inside them and no image dependencies.
The footprint is quoted twice with two different numbers
The About section gives the library a small footprint of 120KB gzipped. Eleven lines later the same file states that the complete library is under 100Kb, minified and gzipped. The repository description settles on a third phrasing, all under 120kb gzipped. So one artifact is described as 120KB and as under 100Kb inside a single document, and only one of the two mentions minification. Neither figure is broken down per widget, even though the library is sold as nine separate controls, w2grid, w2toolbar, w2sidebar, w2tabs, w2form, w2fields, w2popup, w2layout and w2utils, each with its own demo link. The size story is also tied to what gets inlined: there are no image dependencies, and some images and font icons are embedded into the CSS file, which is why the build carries gulp-iconfont as a dev dependency and regenerates icons into that stylesheet. Nothing in the file reconciles the two numbers or says which one applies to a given widget. The two builds are also obtained in two different ways. Quick Start sends you to the project website to download the latest stable version, and tells you that if you want the dev version you should look in the dist folder of the master branch, so the 2.0 line is picked up by browsing a directory in the repository rather than by fetching a published artifact.
A 2.0.0 release was tagged while the page still calls 2.0 a candidate
The opening section is titled Road to 2.0 and says the master branch has a new, in-progress version, invites readers to consider the 1.5 branch because it is stable and supports older browsers, and then describes 2.0 as stable enough to be considrered for a Release Candidate, with the spelling as it stands. The Quick Start section repeats the split in two lines: current stable version is 1.5, current development version is 2.0. The repository disagrees with both. The workspace package.json carries version 2.0.0, and the published history of the project contains one release, 2.0.0, dated 26 April 2023. A 2.0.0 artifact therefore exists while the page describing 2.0 is still written as a road toward it, and the branch recommended for production work is a maintenance branch for a major version that has already shipped. The most recent recorded push to the repository is 24 August 2026, so this split has stayed open rather than being a page nobody has opened. The section also points at a discussion numbered 1955 as the place where the goals for the new version are argued out, which is where the distinction between a shipped 2.0.0 and a described road to 2.0 would be settled first. Getting Started Guide is a single link to the website rather than a section of its own, and the page has no install instructions beyond including two files in your markup.
npm test runs a linter, and the contributing guide names a folder the tree never lists
Three instructions about testing disagree with each other and with the package manifest. The file structure calls the specs directory test automation, and the contributing section tells you that if you want to help with unit tests, all changes go in /qa. There is no qa directory in that same file structure listing, and none at the top level of the repository either; the tree has specs, and test, which the structure describes as manual testing files. Then there is the script the manifest actually exposes.
"test": "eslint src demos --ext js"That is the entire test command, an ESLint pass over src and demos with a JavaScript extension filter. No runner is invoked and specs is not part of it, so whatever the test automation directory does, npm test does not start it. The surrounding tooling leans on formatting rather than behavior: eslint ^8.25.0 arrives with eslint-plugin-align-assignments, a plugin whose job is enforcing aligned assignment operators, which says something about the house style and nothing about whether a widget renders.
npm start hands the demo server to python3 on both platforms
The start arrangement spans three entries rather than one command. The top level is run-script-os, and two platform variants sit beside it, start:win32 and start:nix, each of which calls python3 -m http.server 3500. The win32 variant opens the page with start and the URL, the nix variant opens it with open. Nothing else differs between the two branches, and nothing in the build section mentions Python at all: that section asks for Node.JS and nothing else, then gives npm install and gulp. So the documented prerequisites and the actual demo prerequisites are different lists, and on a machine with Node but no python3 the demos will not start through npm start. Two further details of the package wiring are easy to miss. The manifest points main at dist/w2ui.js and style at dist/w2ui.css, while the build documentation says gulp bundles the output into dist/w2ui.min.js and dist/w2ui.min.css, so a package manager resolves the unminified pair, and no module field or exports map appears for the ES6 build the demos are written against. No files field appears either, so nothing in the manifest narrows the published tree, which means demos, docs, es6mods, libs, server, specs and test travel with it.
The root holds files that no section accounts for
The top level of the repository carries .bebelrc, .eslintrc.js, .gitattributes, .github/, .gitignore, copy.sh, demos/, dist/, docs/, es6mods/, gulpfile.js, index.html, libs/, license.txt, no-query.md, package.json, readme.md, server/, specs/, src/, test/ and w2ui.jquery.json. The file structure section accounts for nine of those directories and none of the root level files. copy.sh, index.html, no-query.md and the second package manifest are simply not mentioned, and no-query.md carries no explanation anywhere in the file. The Babel configuration is the most consequential of the unlisted entries: the build runs @babel/core ^7.19.3 through gulp-babel, and the only Babel named file in the root is spelled .bebelrc, without the second a. Nothing in the repository explains the spelling, and the manifest passes no configuration option that would account for it. Reading a build you did not configure is the first thing a new contributor has to do here.
Every component link resolves into the 1.5 documentation tree
The nine controls are each presented as a name, a documentation link and a demo link, and the documentation half of all nine lands in the same versioned subtree. w2grid goes to /web/docs/1.5/layout/grid, w2toolbar to /web/docs/1.5/toolbar, w2sidebar to /web/docs/1.5/sidebar, w2tabs to /web/docs/1.5/tabs, w2form to /web/docs/1.5/form, w2fields to /web/docs/1.5/fields, w2popup to /web/docs/1.5/popup, w2layout to /web/docs/1.5/layout and w2utils to /web/docs/1.5/utils. The demos sit at a separate path with a fragment per widget, and the standalone documentation directory inside the repository is said to hold the same material as the site. So on a branch whose package.json already reads 2.0.0, the reference text for every widget belongs to the other major version, and no 2.0 documentation path appears anywhere in the file. Two smaller signals sit alongside that: the sidebar entry carries two names for one widget, a Tree/Sidebar component, and the locale directory inside src is annotated int18n rather than i18n, another spelling left as written.
Editorial conclusion
w2ui is a reasonable library to read and a risky one to adopt blind, because the page and the repository disagree about the two facts that decide adoption: whether you still need jQuery, and whether 2.0 is finished. Check package.json rather than the About section for the dependency answer, check the release list rather than Road to 2.0 for the version answer, and assume the documentation you land on from any component link describes the 1.5 branch. If you need older browsers, the page's own advice is to take the 1.5 branch instead of master.
Frequently asked questions
Does w2ui 2.0 still need jQuery?
The page says W2UI v.2 no longer requires jQuery as a dependency and that the library has NO DEPENDENCIES as of v2.0, while the workspace package.json still declares jquery at 3.5 or newer under dependencies, and the repository root holds a second file named w2ui.jquery.json.
Which w2ui branch should I use for a production app?
The page points readers at the 1.5 branch because it is stable and supports older browsers, and states in Quick Start that the current stable version is 1.5 while 2.0 is the development version on master. The published history nevertheless already contains a 2.0.0 release dated 26 April 2023.
How big is the w2ui library?
Two figures appear in the same page: 120KB gzipped in the About section, and under 100Kb minified and gzipped further down. The repository description uses a third phrasing, all under 120kb gzipped, and neither in-page figure is broken down per widget.
How do you build w2ui from source?
It is a Node.JS repository, so you need Node installed, then run npm install and gulp, which bundles everything into dist/w2ui.min.js and dist/w2ui.min.css. Note that the demo server started by npm start additionally shells out to python3 -m http.server 3500.
What does npm test actually run in w2ui?
Only a lint pass: the test script is eslint src demos --ext js, which walks src and demos with a JavaScript extension filter. The specs directory, described in the file structure as test automation, is not part of that command, and the contributing guide instead sends unit test changes to /qa.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/vitmalina-w2ui)Star history chart for your README
[](https://hysenlabs.com/projects/vitmalina-w2ui)Was this useful?