---json
{
"page_id": "zn599akkboj3i3dcmp9mv"
}
---
====== ComboStrap UI - Collapse ======
===== About =====
''collapse'' is a [[docs:menubar:menubar|menubar]] component that will collapse its children on a smaller screen making them only visible by clicking on the sandwich icon.
Other component have collapsible behavior such as:
* the [[:docs:animation:toggle|toggle]]
* the [[docs:layout:component:accordion|accordion]]
===== Syntax =====
All the element that are inside a collapse will be collapsed when the width of the page is lower than defined [[docs:styling:breakpoint|breakpoint]] on the [[docs:menubar:menubar|menu bar]].
.......... The element in the collapse container will collapse below the max screen width (breakpoint attribute) defined in the menubar
More... see the page [[docs:menubar:menubar]]
===== Example =====
Below is a [[docs:menubar:menubar|menubar]] where all elements are collapsed because the screen is always greater than the [[docs:styling:breakpoint|xs breakpoint (extra-small screen)]].
[[#|Home]]
[[#|Features]]
[[#|Release]]
Line
* Click on the sandwich icon to expand and see the elements.