Open-source project
tw-in-js/twind avatar
tw-in-js/twind

Twind: the last published package predates three years of commits

The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.

3,942 stars100 forksJavaScriptMIT

At a glance

What is it?
A runtime compiler that turns utility classes into CSS, distributed as a pnpm monorepo whose newest releases on npm all carry the same January 2023 timestamp, while the branch it lives on has been pushed to as recently as October 2026.
Who is it for?
Treat it as a stable 1.0 with an unstated release cadence rather than as a project on a weekly train. The version you install from npm, 1.0.7, was published in January 2023, so anything in the working tree you need has to be consumed from source, and the Tailwind parity the feature list claims is a moving target that the project funds as ongoing work.
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 4 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.

From daily snapshots

Star history

  • tw-in-js/twind3,942 ★ · -6
Star history
Repository2026-09-242026-11-25
tw-in-js/twind3.9k3.9k

-6 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Three releases, one timestamp, January 2023

The three newest releases in this repository were all published at the same moment, 2023-01-24T21:30:41Z: [email protected], [email protected] and @twind/[email protected]. That is a coordinated publish of the library and its two integration packages, which is what changesets is for, and .changeset/ with the changeset scripts in the root package.json is the machinery behind it. What it means for a user is simple: the newest thing on npm is from January 2023.

The branch has moved a long way since. The last push to main was 2026-10-01, so there are three and a half years of commits with no release behind them, and the README still opens its news with the line announcing that Twind v1 reached stable release on Nov 18, 2022. So the readme's own timeline and the registry disagree about how current the project is. The feature list claims parity with Tailwind v3, and the credits name COPILOT TRAVEL as the party partnering with the maintainer to keep Twind aligned with the latest Tailwind CSS releases, which is an ongoing commitment that the release dates do not reflect.

Node 14.15 is the floor and pnpm 7.16.0 is pinned by name

The toolchain is pinned twice, once as a range and once by name. The engines field sets a floor and a package manager range:

json
  "engines": {
    "node": ">=14.15.0",
    "pnpm": "^7.0.0"
  },

and a separate line names the exact package manager the lockfile was produced with, `"packageManager": "[email protected]",` with pnpm-workspace.yaml and pnpm-lock.yaml at the top level and a .nvmrc for the Node side. The scripts are equally explicit about what runs:

json
  "scripts": {
    "start": "BROWSER=none pnpm test:ui",
    "build": "pnpm --filter='./packages/*' --if-present build",
    "check": "TIMING=1 eslint --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.svelte --ignore-path .gitignore .",
    "test": "vitest",

The BROWSER=none prefix on the start script carries a comment saying it exists to stop vite opening a browser inside CodeSandbox or StackBlitz, which is a sandbox accommodation living in the root script of a published library. The eslint extension list is spelled out rather than derived, and the formatter is invoked with --ignore-path .gitignore so the lockfile stays out of the way.

The root package is private, and its 1.0.0 is not the library version

The package.json at the top of the tree describes a private workspace root, not the library. It is named twind-monorepo, marked private, carries version 1.0.0, and declares its workspaces as three globs:

json
  "workspaces": [
    "examples/*",
    "packages/*",
    "sites/*"
  ],

That is why the number 1.0.0 in the root is worth ignoring: the version a consumer installs is [email protected], and the root's 1.0.0 describes an unpublished container. The same file carries the author, Sascha Tandel, the MIT license, the twind.style homepage, an issue URL, and a funding array with three entries pointing at Open Collective, GitHub Sponsors and Ko-fi.

Two details in that file are documentation in disguise. Several keys are comments with an empty string value, one of them explaining that the workspaces list is duplicated in pnpm-workspace.yml for the sake of npm and yarn inside CodeSandbox, and another explaining the BROWSER=none prefix. JSON has no comment syntax, so the file uses key names that begin with a double slash to carry them. The top level also holds a patches/ directory whose purpose the repository does not state.

The compiler ships, the CSS does not

The feature that shapes the economics is stated in three lines under the heading about one low fixed cost: Twind ships the compiler, not the CSS, which means unlimited styles and variants for one low fixed cost. Nothing about the output is capped by what was packaged, and there is no stylesheet to keep in sync with a framework release. The rest of the list follows from that. No build step means no Tailwind, no PostCSS, no configuration file, no purging and no autoprefixing, and no bundler is required because the library is usable from a CDN.

Two entries in that list pull in opposite directions and the README does not rank them. One is no runtime overhead with static extraction, which is a build-time mode, sitting next to a project whose headline feature is having no build step at all. The other tension is autoprefixing: the feature list says you do not need it, and the credits thank style-vendorizer for essential CSS prefixing helpers in less than 1KB of JavaScript, which is the prefixing being done for you. Elsewhere in the same list sit an escape hatch for arbitrary CSS, optional hashing of class names so generated names cannot collide, conditional rule combining, multiline styles with comments, language extension via presets, and full tree shakeability.

Two Remix examples, a CDN example, and no plain Svelte one

Framework agnosticism is claimed in one sentence: if your app uses HTML and JavaScript it should work, including for server-rendered apps. The examples directory is the evidence, and it holds basic, playground, using-tailwind-forms, using-twind-cdn, with-gatsby, with-lit, with-next, with-remix, with-remix_react-v18, with-sveltekit and with-web-components.

Read as a matrix, that is Next, Gatsby, Remix twice over, SvelteKit, Lit and plain web components, plus the two integration modes that matter most: using-twind-cdn for the no-bundler path and using-tailwind-forms for dropping in Tailwind's own plugin. What is missing is as informative as what is there. There is no standalone Svelte example next to the SvelteKit one, and no Vue, Angular, Solid or Preact directory at all. The two integration packages that have their own release history, gatsby-plugin-twind and @twind/with-web-components, both correspond to examples here, so the packages and the examples have been kept in step.

The compiler is nine other projects in a trench coat

The credits section opens by conceding the point outright, saying it would be untrue to suggest the design here is totally original, and then it is specific. The first two entries are the founders' own earlier attempts, oceanwind and beamwind, which is unusual to see listed. Tailwind CSS supplied the API the compiler's grammar was defined against, styled-components popularised the advantages of CSS-in-JS, and htm is credited for proving there is merit in compiling a DSL like JSX at runtime. goober is credited with being an impossibly small yet efficient CSS-in-JS implementation that defines critical module features, and otion as the first CSS-in-JS solution oriented around handling CSS atomically. clsx is the tiny utility for building class name strings conditionally, UnoCSS supplied the configuration syntax, and CSSType supplies autocompletion and type checking for CSS properties and values.

Two of those attributions are load bearing in a way the list does not underline. If goober defines the critical module features, the shape of the module boundary is not this project's invention either. And the type checking claim in the feature list, that Twind is type strong and written in TypeScript, is checked against CSSType rather than derived from a hand written property list.

One sponsor pays for maintenance, another for Tailwind alignment

Two commercial relationships are named, and they are for different jobs. Kenoxa GmbH is described as supporting the maintainer, @sastan, to maintain the project as part of their open-source engagement, which is the funding that keeps the work happening. COPILOT TRAVEL is described as partnering with the same maintainer to keep Twind aligned with the latest Tailwind CSS releases, which is funding for a specific technical obligation. A sponsor image is served from twind.style/sponsors.svg, and the README asks companies to sponsor through opencollective or GitHub Sponsors.

The rest of the operating surface is a well equipped monorepo: a Discord for real time conversation and GitHub Discussions for anything that should stay searchable, a Contributing Guide, a code of conduct, a ROADMAP.md, a CHANGELOG.md, husky hooks, a vitest.config.js, a tsconfig.base.json, a devcontainer, and four separate sandbox configurations in .codesandbox/, .stackblitz/, .stackblitzrc and sandbox.config.json. There is also a documentation/ directory and a sites/ workspace, which is where the homepage the packages point at is presumably built. None of the project description, and the claim of being the smallest, fastest and most feature complete Tailwind-in-JS solution in existence, is measured anywhere in the repository.

Editorial conclusion

Treat it as a stable 1.0 with an unstated release cadence rather than as a project on a weekly train. The version you install from npm, 1.0.7, was published in January 2023, so anything in the working tree you need has to be consumed from source, and the Tailwind parity the feature list claims is a moving target that the project funds as ongoing work. Before adopting it, check the changelog against the Tailwind release you are pairing it with, and check the engines field, since the floor is Node 14.15.0 with pnpm 7.16.0 pinned by name. If you only need the no-build-step path, the CDN and Tailwind integration examples in the tree are the shortest route to a decision.

Frequently asked questions

What is Twind and how does it differ from Tailwind CSS?

Twind is a small compiler that converts utility classes into CSS at runtime, with no build step, no Tailwind, no PostCSS, no configuration file, no purging and no autoprefixing, usable in the browser or in Node.js, deno and workers. The goal is stated as unifying the flexibility of CSS-in-JS with the constraints of the Tailwind API, and the feature list claims parity with Tailwind v3, which the project credits a sponsor for keeping aligned.

What is the latest released version of Twind?

The newest releases in the repository are [email protected], [email protected] and @twind/[email protected], all published at the same timestamp on 2023-01-24. Version 1 was announced as stable on Nov 18, 2022, with a migration guide and a v0.16 branch for the older line. The main branch has been pushed to since, most recently on 2026-10-01.

What Node and package manager versions does Twind require?

The root package.json sets engines for node >=14.15.0 and pnpm ^7.0.0, and separately names [email protected] as the packageManager, with pnpm-lock.yaml, pnpm-workspace.yaml and a .nvmrc at the top level. The workspaces are the globs examples/*, packages/* and sites/*, and the root package itself is private, so its own 1.0.0 version is not the library version.

Which frameworks do the Twind examples cover?

The examples directory holds basic, playground, using-tailwind-forms, using-twind-cdn, with-gatsby, with-lit, with-next, with-remix, with-remix_react-v18, with-sveltekit and with-web-components. There is no standalone Svelte example beside the SvelteKit one, and no Vue, Angular, Solid or Preact directory. The CDN example covers the no-bundler path, and the project is usable from a CDN without a bundler at all.

Is Twind safe to use in production, and who maintains it?

The repository does not make a safety claim, and it names one maintainer, Sascha Tandel, credited as @sastan. The README states that Kenoxa GmbH supports that maintainer to keep the project maintained as part of their open-source engagement, and that COPILOT TRAVEL partners with the same maintainer to keep Twind aligned with the latest Tailwind CSS releases. Funding links point at Open Collective, GitHub Sponsors and Ko-fi.

Official sources

  1. License: MIT
  2. Project website
  3. README
  4. Releases
  5. tw-in-js/twind on GitHub
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.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/tw-in-js-twind.svg)](https://hysenlabs.com/projects/tw-in-js-twind)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/tw-in-js-twind.svg)](https://hysenlabs.com/projects/tw-in-js-twind)

Was this useful?