import{_ as s,o as a,c as t,ae as e}from"./chunks/framework.C8AWLET_.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"SigPro","text":"Atomic Unified Reactive Engine","tagline":"Fine-grained reactivity, built-in routing, and modular plugins. All under 2KB.","image":{"src":"/logo.svg","alt":"SigPro Logo"},"actions":[{"theme":"brand","text":"Get Started","link":"/guide/getting-started"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/natxocc/sigpro"}]},"features":[{"title":"Atomic Reactivity","details":"Powered by Signals. Only updates what changes. No Virtual DOM overhead, no heavy re-renders."},{"title":"Zero Dependencies","details":"Written in pure Vanilla JS. Maximum performance with the smallest footprint possible."},{"title":"Modular Ecosystem","details":"Official plugins for UI components, dynamic Routing, Fetch, and Storage. Load only what you need."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),n={name:"index.md"};function l(h,i,p,r,k,o){return a(),t("div",null,[...i[0]||(i[0]=[e(`
SigPro isn't just another framework; it's a high-performance engine. It strips away the complexity of massive bundles and returns to the essence of the web, enhanced with reactive superpowers.
import { $ } from 'sigpro2';
// A reactive state Signal
const $count = $(0);
// A Computed signal that updates automatically
const $double = $(() => $count() * 2);
// UI that breathes with your data
const Counter = () => div([
h1(["Count: ", $count]),
p(["Double: ", $double]),
button({ onclick: () => $count(c => c + 1) }, "Increment")
]);
$.mount(Counter);Unlike frameworks that diff complex trees (V-DOM), SigPro binds your signals directly to real DOM text nodes and attributes. If the data changes, the node changes. Period.
Extend core capabilities in a single line. Add global UI helpers, routing, or state persistence seamlessly.
import { UI, Router } from 'sigpro/plugins';
$.plugin([UI, Router]);With our dedicated Vite plugin, manage your routes simply by creating files in src/pages/. It supports native Lazy Loading out of the box for lightning-fast initial loads.
npm install sigpropnpm add sigproyarn add sigprobun add sigproSigPro is an open-source project. Whether you want to contribute, report a bug, or just talk about reactivity, join us on our official repository.
Built with ❤️ by NatxoCC