Portal Community

Minimal Example

{
  "id": "settings-sidebar",
  "type": "sidebar-nav",
  "order": 1,
  "width": "full",
  "settings": {
    "items": [
      { "id": "nav-general",    "label": "General",    "sectionId": "sec-general",    "icon": "fa-solid fa-gear" },
      { "id": "nav-security",   "label": "Security",   "sectionId": "sec-security",   "icon": "fa-solid fa-lock" },
      { "id": "nav-billing",    "label": "Billing",    "sectionId": "sec-billing",    "icon": "fa-solid fa-credit-card" },
      { "id": "nav-integrations","label": "Integrations","sectionId": "sec-integrations","icon": "fa-solid fa-plug" }
    ],
    "defaultItem": "nav-general"
  }
}

Settings Reference

SettingTypeDefaultDescription
itemsNavItem[]Navigation item definitions
defaultItemstring (item id)First itemWhich nav item is active on load
sidebarWidthstring (CSS)"220px"Width of the sidebar column
positionleft | rightleftWhich side the sidebar appears on
stickybooleanfalseStick the sidebar while content scrolls
showGroupLabelsbooleanfalseShow section header labels in the sidebar

Nav Item with Groups

{
  "settings": {
    "showGroupLabels": true,
    "items": [
      { "id": "nav-profile",       "label": "Profile",          "sectionId": "sec-profile",       "icon": "fa-solid fa-user",          "group": "Account" },
      { "id": "nav-preferences",   "label": "Preferences",      "sectionId": "sec-preferences",   "icon": "fa-solid fa-sliders",       "group": "Account" },
      { "id": "nav-2fa",           "label": "Two-Factor Auth",  "sectionId": "sec-2fa",           "icon": "fa-solid fa-mobile-screen", "group": "Security" },
      { "id": "nav-sessions",      "label": "Active Sessions",  "sectionId": "sec-sessions",      "icon": "fa-solid fa-clock",         "group": "Security" },
      { "id": "nav-plan",          "label": "Plan",             "sectionId": "sec-plan",          "icon": "fa-solid fa-star",          "group": "Billing" },
      { "id": "nav-invoices",      "label": "Invoices",         "sectionId": "sec-invoices",      "icon": "fa-solid fa-file-invoice",  "group": "Billing" }
    ]
  }
}

// Sidebar renders:
// — Account —
//   Profile
//   Preferences
// — Security —
//   Two-Factor Auth
//   Active Sessions
// — Billing —
//   Plan
//   Invoices

Sticky Sidebar

Enable sticky: true for long content forms where the sidebar should remain visible as the user scrolls through the selected section's content:

{
  "settings": {
    "sticky": true,
    "sidebarWidth": "240px",
    "items": [...]
  }
}

sidebar-nav vs tabs

sidebar-navtabs
Two-column layout (nav + content)Single column with tab bar above
Best for settings-style formsBest for data-entry forms
Many sections (5+) with icons3–7 sections, horizontal fit
Can be sticky while scrollingTab bar scrolls with page