Skip to main content

sparrow_kit 1.1.0-experimental.1 copy "sparrow_kit: ^1.1.0-experimental.1" to clipboard
sparrow_kit: ^1.1.0-experimental.1 copied to clipboard

A DOM-first Dart web framework with fine-grained reactivity, SSR, and SEO.

Sparrow Kit #

Sparrow Kit is a Dart web framework for building real HTML interfaces, with server rendering and browser hydration. It requires Dart >=3.6.0 <4.0.0.

Version 1.1.0-experimental.1 · MIT License

Install #

dart pub add sparrow_kit:1.1.0-experimental.1

Get started #

Create web/index.html:

<div id="app"></div>
<script defer src="main.dart.js"></script>

Create web/main.dart:

import 'package:sparrow_kit/ui.dart';
import 'package:sparrow_kit/ui_browser.dart';

void main() {
  mountUi(
    Column(children: const [Text('Hello from Sparrow Kit')]),
  );
}

Compile the browser entry point. If Python 3.7 or later is installed, serve the web/ directory with its local HTTP server:

dart compile js web/main.dart -o web/main.dart.js
python -m http.server 8000 --directory web

Open http://localhost:8000.

Documentation #

See the UI contract and build guide for supported UI components and rendering details.

1
likes
0
points
97
downloads

Publisher

verified publishersparrowkit.site

Weekly Downloads

A DOM-first Dart web framework with fine-grained reactivity, SSR, and SEO.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

web

More

Packages that depend on sparrow_kit