ComboStrap UI - Dropdown

Undraw My Documents

About

dropdown is a component that shows a dropdown menu.

It must be placed inside a group element of the menubar that you will find at the top of your page in a header slot

This component accepts as entry a series of link. If the linked page does not exist, it will be rendered in red.

Example

  • Markup:
<menubar>
    <group>
       <dropdown name="Navbar component">
[[dropdown|dropdown]]
[[group|group]]
[[search|search]]
       </dropdown>
   </group>
</menubar>
  • Output:

How to hide a dropdown conditionally

If you want to hide a dropdown if the size of the screen is too low, you can use the Bootstrap conditional display class

Example: show the dropdown above the lg screen width (992px)

<dropdown name="Social Module" class="d-none d-lg-flex">




Showcase yourself and your brand

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




Recommended Pages
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...



Task Runner