The project site of a 3.1 kB reactive-state library, in the register of Tailwind CSS and Astro: a white blueprint-grid page with a huge headline, install command and black Get started pill, a dark editor beside the cart UI it renders, project figures, a reproducible benchmark chart, a feature bento, CSS-only framework tabs, a one-screen API, release notes, the community and conference, and a sponsor grid with the monthly money.
One store() call, typed from its initial value. Read it, set() it and subscribe() to it from React, Vue, Svelte or plain DOM. No providers, no boilerplate, no dependencies.
The same cart app built four ways, with the same bundler and the same flags. Nimbus does the least work because it only notifies the subscribers whose slice changed.
Bundle sizekB, min + gzip · lower is better
Nimbus 1.93.1 kB
signals + adapter6.8 kB
flux-style store + toolkit14.2 kB
observable state library17.4 kB
Update 10,000 subscribersms, median of 50 runs · lower is better
Nimbus 1.91.9 ms
signals + adapter4.6 ms
flux-style store + toolkit7.8 ms
observable state library11.3 ms
Node 22 on an M2 laptop, median of 50 runs. Other libraries are anonymised; the harness and raw results are in /bench, and pnpm bench reproduces them.
Why Nimbus
Everything a store needs. Nothing it doesn't.
Typed from the initial value
No interfaces to keep in sync. Hover anything and the editor knows its shape, through set(), computed() and every adapter.
Nothing else lands in your lockfile. One package, audited on every release.
0
dependencies in package.json
Fine-grained updates
Components subscribe to slices, so a change re-renders only what reads it.
One store, every framework
Write the store once in plain TypeScript. Each adapter is a few hundred bytes, and the core never imports a framework.
@nimbus/react0.4 kB
@nimbus/vue0.3 kB
@nimbus/solid0.3 kB
@nimbus/preact0.4 kB
@nimbus/lit0.3 kB
vanilla0 kB
Devtools with time travel
Every set() is logged with its diff. Scrub back to any state, then replay forward.
12:04:01cart.set · items.push+1
12:04:01total · 48 → 94computed
12:04:07user.set · localeen → de
SSR-safe by default
A store per request on the server, serialised once and hydrated on the client.
serialize(cart)↓hydrate(cart)
Adapters
Same store. Your framework.
The cart store from above, read by a badge in four places. The adapter is the only line that changes.
npm i @nimbus/reactReact 18, 19
npm i @nimbus/vueVue 3.3+
no adapterSvelte 4, 5
CartBadge.tsx
import { useStore } from'@nimbus/react'import { cart, total } from'./cart'exportfunctionCartBadge() {const count = useStore(cart, (s) => s.items.length)const sum = useStore(total)return<a href="/cart">{count} items · €{sum}</a>}
CartBadge.vue
<scriptsetuplang="ts">import { useStore } from'@nimbus/vue'import { cart, total } from'./cart'const count = useStore(cart, (s) => s.items.length)const sum = useStore(total)</script><template><a href="/cart">{{ count }} items · €{{ sum }}</a></template>
CartBadge.svelte
<scriptlang="ts">import { cart, total } from'./cart'// every Nimbus store is a Svelte store: read it with $</script><a href="/cart">{$cart.items.length} items · €{$total}</a>
About Nimbus. A framework leader's home page: white blueprint grid, a huge tight headline, the install command up front, a dark editor beside the UI it renders, and numbers a skeptic can check.
Nimbus is for JavaScript and TypeScript developers deciding whether to take on a dependency, and for the teams who might sponsor or contribute. It follows the open-source leaders (Tailwind CSS, Astro, Svelte, Tauri): a crisp white sheet on a hairline blueprint grid, a very large tight Geist headline with the install command and a black Get started pill above the fold, and code before copy. A dark editor window shows cart.ts beside the white cart card it renders (product thumbnails, the just-added line, "1 set() → 1 render"). Proof is what a real repo has: stars, weekly downloads, contributors, size and coverage in a ruled figures strip; an Astro-style benchmark of bundle size and update time against anonymised alternatives with the reproduction command; a six-cell feature bento whose visuals are the thing itself (a type tooltip, a re-render tree, adapter sizes, a devtools log); framework tabs (React, Vue, Svelte, vanilla) built from radio inputs and :has(); the five-function API; the latest release with its changelog; NimbusConf photography beside a 52-week merged-PR strip and good first issues; and a Tailwind-style sponsor grid with the monthly total published.
Colours and type. The palette, fonts and corners every page of Nimbus is drawn from.
The system, applied to any site. Every rule below travels with the template — describe your tweaks and the agent keeps the system intact.
What it decides for you
Follow the register of the open-source leaders (tailwindcss.com, astro.build, svelte.dev, tauri.app): code before copy, the install command and a "Get started" pill above the fold, proof from the repo itself. Nothing playful, no mascots, no stock illustrations of "developers".
A white page on a hairline blueprint grid: every section is a full-width row with a 1px top rule, its content in one framed centre column (1px side rules) and diagonally hatched gutters outside it, like Tailwind's site.
Geist 600 with -0.04 to -0.05em tracking for the headline and section titles, Geist for body, Geist Mono for code, versions, package names, labels and every figure (tabular).
Black ink pills for primary actions, outlined pills for secondary; one cobalt accent (#1B5FD9) for the headline size, links, API signatures, the Nimbus benchmark bar and release weeks; green (#0E7A4D) only for passing builds, the facts dots and good-first-issue tags.
Code is shown in a dark editor window (traffic-light dots, file tab, line numbers, syntax colours, one highlighted line) and always beside what it does: the cart store beside the cart card it renders, each adapter tab beside its framework.
Every claim is a number a developer can verify: min + gzip size, weekly downloads, stars, coverage, a benchmark with its machine, run count and reproduction command, merged PRs, median first review and the monthly sponsorship total.
Imagery is generated, never stock: clean catalogue product shots for the demo cart, abstract frosted-glass cloud art for the release post, and documentary photography of the project's own conference.
All interaction is CSS-only (install and framework tabs are radios read with :has(), the first panel shows when none is checked); colours read the --ca-* tokens; motion (bar growth, caret, re-render pulse) stops under prefers-reduced-motion.
Ships with
Sticky translucent nav: cloud mark and wordmark, a v1.9.3 pill, "Search docs Ctrl K", Docs / API / Examples / Blog / Showcase and a GitHub link with 11.6k stars
Left-aligned hero: a "v1.9 · Computed stores and Devtools 2 →" pill, a mono type-signature annotation, "Reactive state in 3.1 kB." ("3.1 kB." in cobalt), a lede with inline API names, a black Get started pill beside an npm / pnpm / bun install pill with copy, and five mono facts with green dots
Demo row: a dark editor window with cart.ts (store, computed, set; line 13 highlighted, blinking caret) beside a white cart card on a hatched panel (notebook, tote, the just-added pen, total, Checkout, "1 set() → 1 render · 0.2 ms")
Figures strip in ruled cells: 11.6k stars, 1.2M weekly downloads, 312 contributors, 3.1 kB min + gzip, 99.2% coverage
Performance: two bar charts (bundle size in kB, update time for 10,000 subscribers in ms) of Nimbus against three anonymised libraries, with the machine, run count and the pnpm bench reproduction note
Why Nimbus: a six-cell bento with live visuals: type inference tooltip, zero dependencies, a re-render tree, six adapter packages with sizes, a devtools time-travel log, SSR serialize → hydrate
Adapters: copy and install rows beside CSS-only React / Vue / Svelte / Vanilla tabs, each a dark editor window of the same cart badge
API: a sticky heading beside a five-row definition list of signatures, return types and one-line descriptions
Releases: the v1.9 release card (generated cloud artwork, date, contributors, feat / perf / fix changelog, Read the release post, Full changelog) over three previous releases
Community: a NimbusConf photograph with caption beside a 12-month panel (merged PRs, median first review, Discord, releases), a 52-week merged-PR strip with release weeks in cobalt and three good first issues
Sponsors: heading, Become a sponsor and the monthly report, a ruled 4 × 2 grid of sponsor wordmarks with tiers, and "$4,377 a month from 18 companies and 214 people" with backer avatars
Closing call to action ("Your first store in thirty seconds.") and a five-column footer over a mono base line
Keep looking. More from the library, developer first.