Leptos is a full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.
Leptos can be used to build apps that run in the browser (client-side rendering), on the server (server-side rendering), or by rendering HTML on the server and then adding interactivity in the browser (server-side rendering with hydration). This includes support for HTTP streaming of both data (Resources) and HTML (out-of-order or in-order streaming of components.)
This is free and open source software.
Key Features
- Provides primitives to write isomorphic server functions, i.e., functions that can be called with the “same shape” on the client or server, but only run on the server. This means you can write your server-only logic (database requests, authentication etc.) alongside the client-side components that will consume it, and call server functions as if they were running in the browser, without needing to create and maintain a separate REST or other API.
- Built on the Web platform and Web standards. The router is designed to use Web fundamentals (like links and forms) and build on top of them rather than trying to replace them.
- Provides most of what you need to build a modern web app: a reactive system, templating library, and a router that works on both the server and client side.
- Entire framework is built from reactive primitives. This allows for extremely performant code with minimal overhead: when a reactive signal’s value changes, it can update a single text node, toggle a single class, or remove an element from the DOM without any other code running/
- Declarative: Tell Leptos how you want the page to look, and let the framework tell the browser how to do it.
Website: github.com/leptos-rs/leptos
Support:
Developer: Greg Johnston
License: MIT License
Leptos is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Rust Frontend Web Frameworks | |
|---|---|
| Tauri | Framework for building tiny, blazing fast binaries for all major desktop platforms |
| Yew | Modern framework for creating multi-threaded front-end web apps |
| Leptos | Full-stack, isomorphic Rust web framework |
| iced | GUI library focused on simplicity and type-safety |
| Dioxus | React-like library for building fast, portable, and beautiful user interfaces |
| Seed | Framework for creating fast and reliable web apps with an Elm-like architecture |
| Sycamore | Next generation UI library |
| Vizia | Declarative GUI library |
| Perseus | State-driven web development framework |
| Percy | Collection of libraries for building interactive frontend browser apps |
| stdweb | Standard library for the client-side Web |
| mogwai | View library for creating GUI applications |
| Silkenweb | Library for building reactive web apps |
| sauron | Suited for developing web application which uses progressive rendering |
| Dominator | High-performance declarative DOM library |
| Kobold | Easy declarative web interface |
| Draco | Build client side web applications with Web Assembly |
| Smithy | Build WebAssembly applications with Rust |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

