Bootstrap CSS Classes

Bootstrap CSS class .dropdown

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle"
          type="button" id="dropdownMenu1" data-toggle="dropdown"
          aria-haspopup="true" aria-expanded="false">
    Dropdown
  </button>
  <div class="dropdown-menu" aria-labelledby="dropdownMenu1">
    <a class="dropdown-item" href="#">Action</a>
    <a class="dropdown-item" href="#">Another action</a>
  </div>
</div>

Preview

See components using .dropdown

Browse ready-made Bootstrap components that use this class.

Are you tired of writing HTML by hand?

Check .dropdown in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Bootstrap CSS classes in Dropdowns category

© 2026 Shuffle. All rights reserved.