Skip to content

Sidebar Layout

The Sidebar Layout element creates a two-column layout with a collapsible sidebar and a main content area. The sidebar references another page in your application, allowing you to build complex navigation structures.


Overview

Sidebar Layout splits the screen into two regions: a sidebar panel and a main content area. The sidebar can be collapsed or expanded by the user, and on smaller screens it can overlay the content instead of pushing it aside.

Common uses:

  • Application navigation menus
  • Filter panels alongside content
  • Settings panels with a detail view
  • Documentation-style layouts

Adding a Sidebar Layout

  1. Open the Website Builder
  2. Find Sidebar Layout in the Elements panel (under Layout)
  3. Drag it onto your page
  4. Configure sidebar properties in the General Tab

Note: This element is available for web applications only.


Properties

General Tab

PropertyDescription
Source PageThe page whose content is rendered inside the sidebar
PropertyDescriptionDefault
WidthSidebar width in pixels or percentage260px
PositionWhich side the sidebar appears on (Left or Right)Left
Default StateWhether the sidebar starts Expanded or CollapsedExpanded
Collapse BehaviorHow the sidebar collapses: Slide (slides out) or Push (pushes content)Slide
Overlay ModeWhen enabled, sidebar overlays content instead of resizing itOff

Color Tab

PropertyDescriptionDefault
Sidebar BackgroundBackground color of the sidebar panel#f5f5f5
Divider ColorColor of the border between sidebar and content#e0e0e0

Dimensions Tab

PropertyDescription
WidthTotal element width
HeightTotal element height
PaddingInner spacing
MarginOuter spacing

Best Practices

  1. Keep sidebar content focused - Use the sidebar for navigation or filters, not heavy content

  2. Use Overlay Mode on narrow pages - Prevents the main content from becoming too cramped

  3. Set a sensible default state - Collapse by default on content-heavy pages

  4. Test at different widths - Ensure the layout works well at various browser sizes


Questions?

If you have any questions, please don't hesitate to contact us. Alternatively, you can submit an issue on this platform.

Useful Links:

Web Elements - https://help.acenji.com/#/./create-web-application/elements/index

Was this article helpful?

No-Code App Builder