Build a cross-framework counter
Follow the golden-path tutorial: install Quoin, write a portable counter hook, render it in GPUI, then re-target another framework.

Quoin is a framework-agnostic reactive abstraction layer for Rust. You write your business logic once against a small set of traits — signals, effects, async tasks, cancellation, global state — and the same code runs under GPUI, Leptos, Dioxus, Xilem, or Floem. You enable exactly one framework feature at compile time, and the shared conformance suite guarantees every adapter behaves identically.
Build a cross-framework counter
Follow the golden-path tutorial: install Quoin, write a portable counter hook, render it in GPUI, then re-target another framework.
Ship a feature
Browse task-focused guides: async data loading, cancellation, global state, declarative macros, styling, testing, and tracing.
Look up an API
Reference pages cover every trait, macro, and feature flag with signatures, defaults, and examples.
Understand the design
Explanations describe why Quoin exists, how the crate graph fits together, and how the reactivity model works under the hood.
| Framework | Adapter crate | Status |
|---|---|---|
| GPUI | quoin-gpui |
Full support |
| Leptos | quoin-leptos |
Full support |
| Dioxus | quoin-dioxus |
Full support |
| Xilem | quoin-xilem |
Full support |
| Floem | quoin-floem |
Full support |
Enable exactly one framework feature in your Cargo.toml — Quoin enforces this with a compile-time check.