Modular Universe Library

The core structural builder for GoGrab Space platforms.

Modular Universe (modular-universe)

The Modular Universe library is the "Chassis" of the GoGrab Space platform builder. It provides the structural grid system where Modules, Widgets, and Pages live.

🌟 Key Features

  1. Grid Canvas System:

    • Dual layout engine: Flexbox (default, responsive) and CSS Grid (precision).
    • Visual Drag-and-Drop resizing and reordering.
    • Palette Integration: Drag modules and widgets directly from the sidebar.
  2. Platform Agnostic:

    • Designed to export to Flutter (Row/Column), Web (Flex/Grid), and Electron.
  3. Module Integration:

    • Acts as the container for all functional modules.
    • Smart configuration for "Structural Modules" (Nav, Sidebar).
    • Ferrari Editor: Integrated Visual Page Editor for deep content editing.
    • Singularity: Logic flow attachment points (hooks).

🏗 Architecture

Key Components

Data Model

🚀 Usage

Importing the Builder

import { ModularUniverseRoutes } from '@libs-structural/modular-universe';

// In your routes
{
  path: 'builder',
  children: ModularUniverseRoutes
}

Contract Compliance

This library adheres to the BrowserModuleContract.