Skip to content
pubscout

jaspr

0.23.5, released 8 weeks ago by schultek.dev

A web framework for building websites in Dart with Flutter-like syntax and server-side rendering.

WASM-ready
$ flutter pub add jaspr
Source repository

What it does

Jaspr allows developers to build web applications using a component model that feels like Flutter, supporting both client-side and server-side rendering, automatic state syncing, and optimized DOM updates.

AI-written summary of version 0.23.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to build websites in Dart with a Flutter-like component model.
  • You need server-side rendering (SSR) for web applications written in Dart.
  • You prefer writing web layouts using component composition and HTML element components.

Skip it when

  • You are building a standard mobile or desktop application rather than a website.
  • You require a vast out-of-the-box library of pre-styled Material or Cupertino components.

Strengths

  • Familiar component model for Flutter developers.
  • Built-in server-side rendering and automatic state sync between server and client.
  • Optimized DOM updates and CLI tool support with hot reloading.

Weaknesses

  • Does not include pre-styled Material or Cupertino components.
  • Styling relies on CSS/stylesheets rather than property-based widget styling.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
10

Activate the jaspr_cli globally and use `jaspr create` to scaffold a new project.

div([
  h1([text('Welcome to Jaspr')]),
  p([text('This is some basic html!')]),
]);

Alternatives

Packages that do the same job and could replace jaspr.

  • a2ui_flutter

    Renders AI-generated A2UI surfaces as Flutter widgets.

  • yaru

    Flutter widgets and theme following the Yaru design language for desktop and web.

  • velocity_x

    A minimalist Flutter framework for rapidly building custom designs inspired by Tailwindcss and SwiftUI.

  • family_bottom_sheet

    Multi-page bottom sheet library with internal navigation and smooth transitions.

Works with

Packages commonly used together with jaspr: ones it builds on, ones built on it, and its own family.