code-anything.com
Sign inStart free
Developer

Nimbus

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.

Open-source libraries & frameworks

open-source.code-anything.app
v1.9Computed stores and Devtools 2

Reactive state in 3.1 kB.

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.

Get started
npm i nimbuspnpm add nimbusbun add nimbus
  • MIT licensed
  • 0 dependencies
  • Types built in
  • ESM + CJS, Node ≥ 18
  • Build passing
cart.tsCart.tsx✓ typed
import { store, computed } from 'nimbus' export const cart = store({  items: [] as Item[],}) // recomputes only when cart.items changesexport const total = computed(cart, (s) =>  s.items.reduce((sum, i) => sum + i.price * i.qty, 0),) cart.set((draft) => {  draft.items.push({ id: 'pen', price: 46, qty: 1 })})

Your cart 3 items

  • A kraft-brown A5 notebook with a black elastic band on a pale grey backgroundField notebookA5 · kraft · qty 1€20
  • A natural linen tote bag standing upright on a pale grey backgroundLinen totenatural · qty 1€28
  • A matte black fountain pen with a steel clip on a pale grey backgroundFountain penjust addedmatte black · qty 1€46

Total €94

Checkout

1 set()1 render · 0.2 ms

  • 11.6kGitHub stars
  • 1.2Mnpm downloads a week
  • 312contributors
  • 3.1 kBmin + gzip, zero dependencies
  • 99.2%test coverage, every commit

Performance

Less to ship. Less to run.

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.

cart.set((draft) => draft.items.push(item))(property) items: { id: string; price: number; qty: number }[]

Zero dependencies

Nothing else lands in your lockfile. One package, audited on every release.

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' export function CartBadge() {  const count = useStore(cart, (s) => s.items.length)  const sum = useStore(total)  return <a href="/cart">{count} items · €{sum}</a>}
CartBadge.vue
<script setup lang="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
<script lang="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>
badge.ts
import { cart, total } from './cart' const badge = document.querySelector('#cart-badge')! cart.subscribe((s) => {  badge.textContent = `${s.items.length} items · €${total.get()}`})

API

The whole API fits on one screen.

Five functions. Learn them in an afternoon and stop thinking about state.

Full reference
store(initial)→ Store<T>
Create a store. Its type is inferred from the initial value, so there is nothing to declare.
store.set(recipe)→ void
Mutate a draft; Nimbus produces the next immutable state and notifies subscribers once.
store.subscribe(fn, select?)→ () => void
Run fn when the selected slice changes. Returns the unsubscribe function.
computed(store, fn)→ Readable<U>
A read-only store derived from others, recomputed only when its inputs change.
batch(fn)→ void
Group several set() calls into a single notification.

Releases

Shipped in the open, on a schedule.

A minor release every six to eight weeks, semver without exceptions, and a changelog written for people.

Frosted-glass cloud shapes glowing cobalt blue on a pale background, the artwork for the Nimbus 1.9 releaseNimbus 1.9

v1.9.0 · October 28, 2026 · 41 contributors

Computed stores, Devtools 2 and a smaller core.

  • featcomputed() stores with automatic dependency tracking
  • featDevtools 2: time travel and action diffs, for Chrome and Firefox
  • perfCore down from 3.4 to 3.1 kB min + gzip
  • fixsubscribe() selector equality for nested arrays (#1412)

Community

Built in the open by 312 contributors.

Every decision happens in a public RFC, every pull request gets a first review within a day, and the roadmap is a GitHub project anyone can read.

A speaker on a dark stage beside a large screen glowing blue, seen from the back of a full hall with laptops open
NimbusConf 2026, Lisbon640 attendees, 18 talks, every one of them free to watch.

Sponsors

Supported by the teams that ship it.

Sponsorship pays two maintainers to work on Nimbus full-time. Every dollar in and out is published in the monthly report.

  • HalyardPlatinum
  • NorthbeamPlatinum
  • TessellateGold
  • QuarryGold
  • FieldworkGold
  • Lumen LabsGold
  • ParcelSilver
  • DriftwoodSilver

$4,377 a month from 18 companies and 214 people. Thank you.

Get started

Your first store in thirty seconds.

Install it, call store(), read it anywhere. The guide takes ten minutes.

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.

bg#FFFFFF
surface#F6F7F9
text#0A0F1C
muted#525A69
accent#1B5FD9
accent2#0E7A4D
border#E3E6EB
Headings

Geist

Body

Geist

Radius

14px

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

  1. 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
  2. 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
  3. 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")
  4. Figures strip in ruled cells: 11.6k stars, 1.2M weekly downloads, 312 contributors, 3.1 kB min + gzip, 99.2% coverage
  5. 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
  6. 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
  7. Adapters: copy and install rows beside CSS-only React / Vue / Svelte / Vanilla tabs, each a dark editor window of the same cart badge
  8. API: a sticky heading beside a five-row definition list of signatures, return types and one-line descriptions
  9. 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
  10. 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
  11. 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
  12. 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.

Browse all
DeveloperInsight DocsA Quickstart page for a search API in the register of Stripe Docs and Mintlify: search-first top bar with Ask AI and product tabs, grouped sidebar, a "what you'll build" preview beside an integration-effort card, numbered steps with real code (your test key filled in), annotated code with a legend, the ranked response, a reference-style parameter list, an error table, next-step cards and an On-this-page rail.DeveloperForgeA Stripe-grade landing for a payments API: real product UI floating over a skewed gradient ribbon, a customer wordmark wall with scale figures, a four-product suite where every card carries its own working UI, a navy developer band with tabbed code and a changelog, an idempotency request log, published uptime beside infrastructure photography, customer stories with their numbers, per-charge pricing and an error-reference FAQ.DeveloperBeaconA crisp, light landing page for the Beacon deploy CLI in the register of Bun and Warp: a heavy condensed headline beside a tabbed benchmark chart with its method printed, a black install box with platform tabs, a customer wordmark row, four command cards, a step list that drives a real terminal session, release notes with numbers, engineers running it in production, and a checksum table beside exit codes.DeveloperUptimeA calm public status page in the register of Atlassian Statuspage and incident.io: the active incident first, a component board with 90 day bars per component, scheduled maintenance, CSS-tabbed system metrics, probe regions, a day-by-day incident log, postmortems and subscribe channels.DeveloperTrailA near-black product changelog in the register of Linear, Vercel and Raycast: a plain "Changelog" title with area tabs, a timeline with a sticky date / version / author column on a hairline rail, large launch renders and CSS-drawn product UI per release, collapsible Improvements / Fixes / API lists, a dense earlier-releases list and a subscribe card.DeveloperStrandlineA near-black product page for a serverless Postgres with vector search, in the register of Neon, PlanetScale and Supabase: a light-strand hero with an install command and four figures, numbered chapters (01 Query with a real SQL console, 02 Branch with a branch graph and CLI session, 03 Replicate with the replication helix and an 18-region lag ledger), a benchmark with its method, photographed NVMe hardware beside a spec sheet, a customer quote, a plan table with usage rates and compliance, an FAQ and a closing terminal.MarketingAuroraA near-black, product-first SaaS landing in the register of Linear and Vercel: a big Inter headline over the real app built in HTML, numbered chapters (1.0 Previews, 2.0 Releases, 3.0 Analytics) each opening on a working UI fragment, isometric FIG figures, photographed customer proof and a plain pricing table.MarketingWarm ArtisanA quiet, editorial site for a sourdough bakery in the register of Poilâne and Tartine: a full-bleed oven-mouth hero with a live oven panel, product cards shot on linen, a ruled daily board with sell-out times, the shopfront at dawn, a 46-hour loaf timeline and a pre-order form.BookingSharp FadeAn editorial barbershop site in the register of Fellow Barber and Murdock London: bone ground, a literary serif and tracked small caps, documentary photography, a price list with minutes, barbers with their next free slot and a real CSS-only booking panel.DashboardCockpitA product-analytics board in the register of Mixpanel, Amplitude and PostHog: a Linear-style sidebar, filter chips, a written weekly summary, KPI cells, an annotated trend, a breakdown, a funnel, retention curves, a cohort heatmap, an accounts list and an annotation feed.The libraryAll 104 templates.Every category — stores, booking, portfolios, dashboards — in real code.

Make it yours in minutes.

Start from this template and describe your tweaks — content, sections, colours. The backend and deploy are handled.