feat: component

This commit is contained in:
2026-04-01 08:40:17 +02:00
parent 619d3ec538
commit 8776459ffb
6 changed files with 518 additions and 5 deletions

View File

@@ -256,6 +256,30 @@ export const EXAMPLES: Example[] = [
spacer
button "Execute" "/page/action.mu"`,
},
{
name: "Components",
description: "Reusable component definitions with use std/dashboard",
source: `page "Node Overview" 60
use std/dashboard
banner "Relay Alpha-7" "Reticulum Mesh Node"
spacer
resources 62 84
spacer
heading 2 "Peers"
peer_status "East Relay" online
peer_status "South Bridge" online
peer_status "Node Gamma" degraded
divider heavy
link "Home" "/page/index.mu"`,
},
{
name: "Dynamic Dashboard",
description: "Live data sources, conditionals, and cache control",