Velvet Studio 2.0
Components Playground Design System Patterns Rust Docs
Velvet Framework · The Rust Web Kernel

Zero JavaScript. All Rust.

Velvet prerenders complete HTML in microseconds and wakes a WebAssembly motor only where interaction pays. One View tree runs the server, the browser, and the desktop — this page is the proof.

62.5 nsIsland publish
0.75 µsWire overhead
0 kBApp JavaScript
100%Rust end to end
§01

Proof over promises

No benchmarks to trust, no demos to imagine. Type a word and press Ping — the island repaints through the same closed act the server and the native host would run.

Try the closed act

Zero-JS form → typed reducer → named island patch.
Note
0Count

The whole method, five lines

Views are plain Rust. Buttons compile to typed acts, islands are named patches, the tape records every step.
rust
// The whole method, in five lines
let page = launch_pad(kicker, title, lead, actions, body, rest);
btn("save", "Save").variant(Variant::Solid);  // a typed act, not a string
island("count", metric(&n, "Live count"));    // a named patch
motor.tape.record(act, fields);               // deterministic replay
serve::router(&opts)                          // HTML, /__act, /__island
§03

Native to agents

Every act ships as schema. An MCP client can list the tools and call them over JSON-RPC — the same contract the buttons use.

json
// A live tools/call — Claude or any MCP agent
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": { "name": "saas_showcase_ping",
              "arguments": { "draft": "agent-turn-42" } },
  "id": 1
}
OpenAPI 3.1Performance
Set in paper & ink · prerendered by Rust · zero application JavaScriptv0.1.0 · e6eb660
Rust Docs

Command Palette

PREVIEW VELVET 2.0

Select an item

Select or hover an item to inspect live route details, contracts, and schema bindings.

Route: /components
Latency: < 0.9 ms (SSR)
Contract: Pure Rust
↵ Open Esc Close

Keyboard Shortcuts

Command Palette / Search⌘K / Ctrl+K
Time-Travel Undo (Rollback)Ctrl+Z
Toggle Light / Dark ThemeMod+Shift+L
Cycle Layout ShellMod+Shift+F
Cycle Density ScaleMod+Shift+D
DevTools Drawer⌘I / Mod+I
High Contrast (WCAG AAA)Mod+Shift+C
Reduced MotionMod+Shift+M

Velvet DevTools

WASM Active
Schema, Acts & Autonomous MCP
POST /__act POST /__mcp GET /act.schema.json GET /openapi.json
HomeAct::Ping → island: count
AuthAct::SignIn → island: session-hint
Proc::UserRows → island: user-rows (q: text)
MCP Tools/List → endpoint: /__mcp (JSON-RPC 2.0)
Engine Telemetry & Allocations
0 Heap Allocs / span 0.1 ms Paint 12 800 M/s
Live Session Tape (Flight Recorder)
[0.00s] boot_catalog 12 pages, 16 routes verified
[0.02s] session_init WASM active, 0 heap allocs
Interactive Act Dispatcher
View Schema Ready
Active Island Inspector (DOM Morph Target)
No active islands on current page
Browser Self-Check (what YOUR browser runs)
waiting…
Autonomous MCP Tool Console
View Act Schema
Ready
Color Contrast & Accessibility
Text to Background 14.8:1 (AAA Pass ✓)

Settings

Språk / Language
Theme Mode
Design Style
Color Palette
Layout Shell
Density
Accessibility (WCAG AAA)