ComboStrap UI - Collapse

Undraw My Documents

About

collapse is a 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:

Syntax

All the element that are inside a collapse will be collapsed when the width of the page is lower than defined breakpoint on the menu bar.

<menubar breakpoint="md">
<collapse>
  .......... The element in the collapse container will collapse below the max screen width (breakpoint attribute) defined in the menubar
</collapse>
</menubar>

More… see the page ComboStrap UI - Menu bar

Example

Below is a menubar where all elements are collapsed because the screen is always greater than the xs breakpoint (extra-small screen).

<menubar breakpoint="xs">
<collapse>
<group>
[[#|Home]]
[[#|Features]]
[[#|Release]]
Line
</group>
</collapse>
</menubar>
  • Click on the sandwich icon to expand and see the elements.




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw Website Builder Re Ii6e
ComboStrap UI - Box

A box is a component that permits to contain other components. This is useful to: define the elements that should collapse or create a styled box. layout componenttext component Align Background-Color...
Undraw My Documents
ComboStrap UI - Menu bar

A menubar is an horizontal navigational bar with links and dropdown menu that should be used in the page header. The start of the menubar. The brand. You can also put your logo icon Collapse...
Undraw Website Builder Re Ii6e
How to create a accordion layout ?

The accordion component is a widget that layouts it children component in an accordion fashion. This article shows you how to do it.



Task Runner