Skip to content

01 / what it is

Own
your
stylesheet.

A React design system with no Tailwind, no CSS-in-JS runtime, and no utility soup. The CLI copies the source into your repo — plain CSS and tokens you can read, and so can your agent.

Get started
npx cascivo init
total gzip · benchmark app78.6 KB
faster partial updates1.9×
axe violations · 4 app states0

measured, not claimed → benchmarks

pulse · an observability dashboard built only from cascivo components · light and dark are one data-theme apart · open the live example →

02 / signals

Change one cell,
render one cell

In the signals grid each cell holds its own signal, so a change re-renders that cell and nothing else. The re-render grid keeps the same data in useState, so every change re-renders all thirty. Press the button and watch the counters.

1.9×faster partial updates — 918 ms vs 1765 ms, every 10th row of 1,000

signals0 renders

123456789101112131415161718192021222324252627282930

re-render0 renders

123456789101112131415161718192021222324252627282930

03 / proof

Numbers,
not adjectives

Every figure is generated at build time from the component registry and the cross-library benchmark suite — methodology included, raw data committed.

cascivo 78.6 KB, shadcn/ui 96.5 KB, Carbon 189.7 KB
Total gzip size: cascivo vs shadcn/ui vs Carbon
CategoryTotal gzip (KB)
cascivo78.61
shadcn/ui96.51
Carbon189.74

total gzip · full benchmark app · js + css

See the performance numbers →

accessibility

WCAG 2.2 AA,
gated in CI

A published conformance statement, a keyboard and ARIA matrix generated from every manifest, and colour-blind-safe chart palettes. Table stakes too: 0 axe violations across four app states — the same scan run against shadcn and Carbon.

axe violations0
keyboard matrixAPG
safe chart palettesCVD
zero overflow320px
See the accessibility evidence →

Same model, no tax

04 / vs shadcn/ui

Like shadcn, you own the code the CLI copies in. The difference is what it is built on — no Tailwind dependency, signals instead of re-renders, and a token system, i18n, charts, and an AI layer in the box.

Feature-by-feature comparison of cascivo and shadcn/ui
Featurecascivoshadcn/ui
TailwindNot requiredRequired (v4)
Component stylingDesign tokens + plain CSSUtility classes
ReactivitySignals — targeted DOM updatesReact state + re-render
Theming3-tier tokens · 12 themes · scope any subtreeCSS variables + .dark class
Prebuilt package@cascivo/react — every component, versionedCopy-paste
InternationalizationBuilt-in (@cascivo/i18n)Not included
ChartsZero-dependency (@cascivo/charts)Recharts
Tests with the sourceShip with each componentNot included
Upgrades after you editVersioned registry + cascivo updateManual diff against main
AI layerPer-component manifests + semantic MCP + auditMCP install + llms.txt

58 of 59 shadcn components have a cascivo equivalent — see the parity matrix. shadcn leads on ecosystem size and adoption today; cascivo's bet is the architecture.

And versus StyleX

Meta's StyleX compiles JavaScript style objects into atomic CSS, and it is right about the destination: build-time styles, typed tokens, a predictable cascade, constraints tight enough that an agent cannot invent a class name. cascivo agrees with all of it and disagrees about the compiler — it writes the CSS, uses real @layer, and ships token names you can type from memory.

Feature-by-feature comparison of cascivo and StyleX
FeaturecascivoStyleX
Build step for stylingNone — CSS filesBabel plugin, required
Cascade controlReal @layer, seven canonical layersComputed priority + :not(##) polyfill
Token names--cascivo-color-accent — stable, typeableHashed at build; needs an import
Wrong token caughtEditor lint · satisfies type · CI auditCompiler error
Relational stylingNative :has()stylex.when.* + marker elements
Components includedThe whole libraryNone — styling only
Styles beside markupSeparate .module.cssSame file

The last row is StyleX's, not ours — the full comparison below says why cascivo takes that trade, and where StyleX is the better pick.

05 / themes

One attribute,
a new skin

12 first-party themes over a three-level token system — primitive, semantic, component. Themes remap the semantic layer; you override component tokens per brand with no rebuild. Scope any theme to any subtree with data-theme.

<main data-theme="brutalist">
  <Card>…</Card>
</main>
AccountPro

data-theme="brutalist" · same markup, same components

06 / the ai loop

Your agent's code,
checked

Most design systems now give agents docs. cascivo also checks what the agent wrote: cascivo audit --ai knows every real prop, required prop and token, and says what to use instead.

what the agent wrote

<Card className="deploy-card">
  <Badge tone="success">Ready</Badge>
  <Tooltip>Redeploy the latest commit</Tooltip>
  <Button variant="primary">Redeploy</Button>
</Card>

.deploy-card {
  background: oklch(0.623 0.214 250);
}

$ cascivo audit --ai src

DeployCard.tsx:7   error  unknown-prop     <Badge tone>
DeployCard.tsx:8   error  missing-prop     <Tooltip> requires "content"
DeployCard.tsx:8   warn   raw-string       "Redeploy the latest commit"
                                           → use labels prop / i18n
deploy-card.css:2  info   hardcoded-value  oklch(0.623 0.214 250)
                                           → --cascivo-blue-500
                                             | --cascivo-color-focus-ring
deploy-card.css:1  warn   unlayered-css    .deploy-card { … }
                                           → wrap in @layer
---
2 errors, 2 warnings, 1 info

after one round

Fixed from
the output

what the agent wrote next

<Card className="deploy-card">
  <Badge variant="success">Ready</Badge>
  <Tooltip content={hint}>
    <Button variant="primary">Redeploy</Button>
  </Tooltip>
</Card>

@layer cascivo.override {
  .deploy-card {
    background: var(--cascivo-color-accent);
  }
}

$ cascivo audit --ai src → no findings

The agent gets the same closed sets up front: an MCP server with tools to select, scaffold and validate, a manifest per component, and a token catalog.

{
  "mcpServers": {
    "cascivo": { "command": "npx",
      "args": ["-y", "@cascivo/mcp"] }
  }
}

llms.txtper-component manifeststokens.catalog.jsoncascivo audit --ai@cascivo/mcpclaude code skills

See the AI layer → See the AI components →

Plan the page, measure the render

plan → build → check → see

  1. Plan

    One page archetype from a fixed catalogue for your brief: slots, components, states and the mobile and accessibility rules for that kind of page.

    design plan
  2. Build

    You or your agent write the page from the plan. Any stack works: React, htmx, static HTML. The page does not have to use cascivo components.

    your code
  3. Check

    Measures the rendered page: mobile overflow and touch targets, WCAG 2.2 AA, contrast, tokens and hierarchy. One line per finding, with the fix.

    design check
  4. See

    A compact screenshot an agent can look at for about 1.3k vision tokens, after the findings are fixed.

    design see

$ cascivo design check <url>

score 67/100 — mobile 50 · a11y 75 · contrast 75
  · tokens 92 · hierarchy 43 — 5 errors, 5 warnings
error contrast div.wide > p.faint
  2.11:1, needs 4.5:1 (#aaaaaa on #f4f4f4)
  → color: #6f6f6f or stronger
warn token/spacing main > div.card ×4
  padding 13px is off the spacing scale
  → var(--cascivo-space-3) (12px)

@cascivo/design is deterministic: the same input gives the same output, and no model is involved. check exits 1 while an error is left, so it works as a CI gate. Agents get the same two commands as the MCP tools design_plan and design_check.

npx cascivo design plan "a pricing page with three plans"
# build the page from the plan, start the app
npx cascivo design check http://localhost:5173/pricing
npx cascivo design see http://localhost:5173/pricing --width 390
Read the design tool guide →

More than components

07 / beyond components

01

Charts

25 chart types with no dependencies. Keyboard-navigable points and a hidden data table for screen readers.

@cascivo/charts

02

Email

Transactional mail in the same 12 themes, resolved to plain sRGB and checked against the Can I email matrix.

@cascivo/email

03

Flow and editor

Node graphs with pan, zoom and a minimap, and a code editor built on a native textarea. Same tokens, same themes.

flow · editor

04

Uses the browser

Menus and dialogs sit on native <dialog> and the Popover API — no positioning library, no JavaScript focus trap.

platform css

05

Upgrades you keep

cascivo update merges upstream fixes into the code you edited. doctor --drift reports what changed under you.

cascivo update

06

Works with the shadcn CLI

Every component is also published in the shadcn registry format, so npx shadcn add can install it.

registry interop

07

Agents operate the UI

Render any view as Markdown or a JSON snapshot, then let an agent act on it through WebMCP tools you gate with allow.

machine mode · registerViewTools

08

Templates

Whole-page starting points — dashboard, auth, landing — that install like a component and are yours to edit.

@cascivo/dashboard

Beyond React: HTML, terminal, native, sites

four Rust crates

col("gap-1 p-1 border rounded text-accent", [
    text("Deploy ready").into(),
    button("Ship it", "ship").into(),
])

HTML

Write .cv text, get one static HTML file: reports, dashboards, landing pages. No React, no build step.

cascivo-html

Terminal

The same themes and class strings, painted in the terminal on ratatui. A typo is an error with a suggestion.

cascivo-tui

Native

The same .cv text in a native window on the Blitz engine. No browser; signals and event handlers in Rust. A git dependency until Blitz 0.3 is stable.

cascivo-blitz

Sites

Markdown, collections, locales and RSS in, a static site out. One Rust binary, no Node build.

cascivo-web

HTML-first dynamic apps

rust server + htmx + elements + islands

Rust server

axum renders the page, or one block of it as the htmx fragment. Forms, sessions, CSRF, auth and SSE included; every response gets a nonce CSP.

cascivo-server

Elements

Light-DOM cv-tabs, cv-dialog, cv-toaster and cv-form enhance the server's markup, plus htmx glue. No React, no shadow DOM.

@cascivo/elements

Islands

Where a widget needs client state, a Solid island mounts on the same markup and is disposed when htmx swaps it out.

@cascivo/solid

One class contract

Server templates, elements, islands and React render the same unhashed cv-* classes and data-* attributes, versioned like an API.

@cascivo/css

Deploy the same app native, on Cloudflare Workers (KV sessions, D1, R2) or in Cloudflare Containers. pnpm dynamic:check holds the JS budget: the htmx + Solid example ships 6.2 KB gzip of cascivo JS per page (budget 15 KB) and 4.4 KB for its island (budget 10 KB).

Read the server guide →
cargo install --git https://github.com/cascivo/cascivo cascivo-web
cascivo-web new my-app \
  --dynamic --target workers

Three steps in

08 / quick start

  1. Initialize

    npx cascivo init

    Detects your package manager and writes the config.

  2. Add components

    npx cascivo add button

    Copies the source into your repo — it is yours now.

  3. Use them

    import '@cascivo/themes/light-dark.css'
    import { Button } from './components/ui/button'

    Import a theme once; each component brings its own CSS. No provider, no wrapper.

Prefer no copy step?

@cascivo/react ships a prebuilt distribution of every component. You don't own the source, but there is no setup — upgrade to owned code via the CLI at any time.

npm add @cascivo/react @cascivo/themes

Then ship the whole app

09 / on cloudflare

Realtime
AI
Data
Operations
Who can sign in

The same components, as a full-stack app on Cloudflare: one command writes the pages, the API and the Worker, and vite dev runs all of it offline.

npx cascivo create acme --framework cloudflare --example board,live --auth email
pages added
4
cloudflare services
5
files written
9
  • Durable Objectsruns locally
  • Queuesruns locally
  • Rate Limitingruns locally
  • Email Serviceruns locally
  • D1runs locally

Pages: /account /board /ops /signin/verify

src/
  auth.ts
  board.module.css
  board.ts
  ops.ts
src/routes/
  account.tsx
  board.tsx
  ops.tsx
src/routes/signin/
  verify.tsx
worker/
  auth.ts
  • Runs on Preact: about a third of the JavaScript React needs.
  • Every service runs in vite dev, in the same runtime as production.
  • Needs a Cloudflare account to deploy: a temporary one only has Workers, KV, D1 and Durable Objects.

Or deploy a starter to your Cloudflare account

One click forks the starter into your GitHub account and deploys it. Cloudflare creates the Durable Objects and databases it needs.

  • App + API

    A client-rendered app and its typed API as one Worker, with file routes and a live SSE demo.

  • Multiplayer board

    Notes and cursors shared live through a Durable Object.

  • AI agent

    An assistant on Workers AI that answers with real cascivo components.

  • Data table on D1

    Customers in D1 behind a DataTable: server-side sort, search and paging, plus editing.

  • Shop on Stripe

    Sell a product with Stripe Checkout: orders in D1, a live order page, receipts, refunds and disputes.

  • Stage: live Q&A

    Questions, polls and reactions for talks, with a projector view. One Durable Object per session.

  • Your own mix

    Every starter is cascivo create output. Pick the examples you want above, and run the one command it gives you.

Shipped, in production

10 / built with cascivo

So far these are all built by cascivo's maintainer — real products in production, but not independent adopters yet. Shipped something with cascivo? Tell us and it goes here ↗

  • Next.js

    App Router / RSC — components keep their "use client" boundary.

    See the example ↗
  • Vite + React

    The reference setup — themes import once, component CSS rides along.

    See the example ↗
  • Astro

    Islands server-render styled; page content ships zero JS. Scaffold one with cascivo create --framework astro.

    Read the Astro guide ↗
  • Preact

    Signals are natively reactive — no adapter, via preact/compat.

    Read the Preact guide ↗

Not a React app? @cascivo/tokens and @cascivo/themes are framework-agnostic CSS — the colour system, type scale and twelve themes work anywhere, components or not. There's a Ghost (Handlebars) theme ↗ built entirely on them.

All 9 products →

Own your UI.

Copy the code. Keep the platform. Bring your agent.

Get started Read the docs
npx cascivo init