6 releases

0.9.0-beta.2 Oct 6, 2023
0.9.0-beta.1 Mar 26, 2023
0.8.2 Sep 24, 2022
0.8.0 Aug 28, 2022
0.8.0-beta.6 May 17, 2022

#803 in WebAssembly

Download history 332/week @ 2024-02-26 326/week @ 2024-03-04 328/week @ 2024-03-11 363/week @ 2024-03-18 384/week @ 2024-03-25 370/week @ 2024-04-01 372/week @ 2024-04-08 385/week @ 2024-04-15 449/week @ 2024-04-22 366/week @ 2024-04-29 353/week @ 2024-05-06 385/week @ 2024-05-13 361/week @ 2024-05-20 393/week @ 2024-05-27 374/week @ 2024-06-03 301/week @ 2024-06-10

1,481 downloads per month
Used in 9 crates (via sycamore)

MIT license

4.5K SLoC


Crates.io docs.rs GitHub contributors Discord

Sycamore is a reactive library for creating web apps in Rust and WebAssembly.

fn Hello<G: Html>() -> View<G> {
    view! { 
        p { "Hello World!" }
  • Lightning Speed: Sycamore harnesses the full power of Rust via WebAssembly, giving you full control over performance.
  • Ergonomic and Intuitive: Write code that feels natural. Everything is built on reactive primitives without a cumbersome virtual DOM.
  • No JavaScript: Had enough of JavaScript? So have we. Create apps using Sycamore without touching a single line of JS.


Sycamore is extensively documented:

Still have questions? Don't hesitate to stop by our friendly Discord server.


Sycamore has many examples for your reference in the examples/ directory. Be sure to check them out!

Viewing on sycamore-rs.netlify.app

All the examples are hosted under sycamore-rs.netlify.app/examples/<example_name> with <example_name> being the name of the example you want to view. For instance, the todomvc example is hosted on sycamore-rs.netlify.app/examples/todomvc.

Building Locally

All the examples can also be built locally using Trunk. For instance, the following command builds and serves the todomvc example:

cd examples/todomvc
trunk serve

Now open up localhost:8080 in your browser to see "Hello World!".


Perseus is a fullstack framework built with Sycamore. Think NextJS or SvelteKit but with no JavaScript. Everything from backend to frontend is built with pure Rust!


Don't think Sycamore is for you? Thankfully, there are plenty of alternatives!

  • SolidJS: A declarative, efficient and flexible JavaScript library for building user interfaces
    Solid is a JavaScript library which greatly inspired Sycamore. Many concepts such as fine-grained reactivity and components as factory functions were borrowed from Solid. If you don't mind working with JavaScript (or TypeScript), go check it out!
  • Yew: Rust / Wasm framework for building client web apps
    Yew was also a big inspiration for Sycamore. Yew employs a VDOM and has a MVU (Elm) architecture. If you think that's for you, take a look!
  • MoonZoon: Rust Fullstack Framework
    MoonZoon also champions the no VDOM paradigm and uses dominator as its underlying DOM layer. MoonZoon is a fullstack framework making it easier to combine frontend and backend code with minimal boilerplate.


Sycamore would not have been possible without the wonderful contributions from the community. Thank you!

Special thanks to @nate-sys for designing the Sycamore logo!


~209K SLoC