Dropdown

A very common web component, the dropdown is a easy to use navigational element used for progressively showing options.

Dependencies

This layout uses the following components as 'atoms' to create the full UI.

Uses: JS:

Horizontal Alignment

Align the dropdown either left to right, or right to left. Dropdowns auto-magically drop up in case there’s not enough browser space to accommodate bottom placement.

Useable modifiers:
  • .bottom
  • .bottom-start
  • .bottom-end
  • .top
  • .top-start
  • .top-end
  • .left
  • .left-start
  • .left-end
  • .right
  • .right-start
  • .right-end

Dropdown Areas

Header, footer and segmented areas can be used within the dropdown.

Segmented Areas

Break up sections of the dropdown into different areas using a <hr>.

Events

Change the click to a mouse hover event with a timeout.

Example Dropdowns

A selection of example dropdowns, when used with other components.


Useful notes and reading:

Useful Reading:

To Dos: