Dropdown

Basic dropdown

When the.showclass add, dropdown appears.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->
<div class="btn-group">
  <button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dashboard</button>
  <ul class="dropdown-menu dropdown-block">
    <li><a class="dropdown-item" href="#">Project</a></li>
    <li><a class="dropdown-item" href="#">Ecommerce</a></li>
    <li><a class="dropdown-item" href="#">Crypto</a></li>
</ul>
</div>
<div class="btn-group">
  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false"> Ecommerce</button>
  <ul class="dropdown-menu dropdown-block">
    <li><a class="dropdown-item" href="#">Product</a></li>
    <li><a class="dropdown-item" href="#">Product details</a></li>
    <li><a class="dropdown-item" href="#">Cart</a></li>
</ul>
</div>
<div class="btn-group">
  <button class="btn btn-warning text-black dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Ui kits</button>
  <ul class="dropdown-menu dropdown-block">
    <li><a class="dropdown-item" href="#">Typography</a></li>
    <li><a class="dropdown-item" href="#">Avatars</a></li>
    <li><a class="dropdown-item" href="#">Grid</a></li>
</ul>
</div>
<div class="btn-group">
  <button class="btn btn-danger dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Error page</button>
  <ul class="dropdown-menu dropdown-block">
    <li><a class="dropdown-item" href="#">Error 400</a></li>
    <li><a class="dropdown-item" href="#">Error 403</a></li>
    <li><a class="dropdown-item" href="#">Error 500</a></li>
</ul>
</div>

Rounded dropdown

When the.rounded-pillto change rounded dropdowns.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->       
<div class="btn-group">
<button class="btn btn-primary rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Primary</button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Primary-dark</a></li>
<li><a class="dropdown-item" href="#">Primary-light</a></li>
<li><a class="dropdown-item" href="#">Primary-lighter</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-success rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Success </button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Success dark</a></li>
<li><a class="dropdown-item" href="#">Success light </a></li>
<li><a class="dropdown-item" href="#">Success lighter </a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-info rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Info </button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Info dark </a></li>
<li><a class="dropdown-item" href="#">Info light </a></li>
<li><a class="dropdown-item" href="#">Info lighter </a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-warning rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Warning</button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Warning dark </a></li>
<li><a class="dropdown-item" href="#">Warning light </a></li>
<li><a class="dropdown-item" href="#">Warning lighter </a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-danger rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Danger </button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Danger dark </a></li>
<li><a class="dropdown-item" href="#">Danger light </a></li>
<li><a class="dropdown-item" href="#">Danger lighter </a></li>
</ul>
</div>

Split dropdown

When the split the dropdown.dropdown-toggle-split

Heading dropdown

Main heading and any sub-content in dropdown.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<div class="btn-group">
<button class="btn btn-success rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Party</button>
<ul class="dropdown-menu dropdown-block">
<li"><a class="dropdown-item fw-bold fs-6">Party List </a></li>
<ul>
<li> <a class="dropdown-item">Balloons</a></li>
<li> <a class="dropdown-item">Cake </a></li>
</ul>
</ul>
</div>

With Input Type

Use the checkbox using dropdown typecheckbox , radio

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<btn-group>
<button class="btn btn-warning" type="button" data-bs-toggle="dropdown" aria-expanded="false">Inputs </button>
<ul class="dropdown-menu dropdown-block p-3">
<li>
<div class="input-group mb-2 rounded-0 border-0 shadow-none">
<div class="input-group-text">
<input class="form-check-input mt-0" type="checkbox" value="" aria-label="Checkbox for following text input">
</div><span>Default checkbox</span>
</div>
<div class="input-group rounded-0 border-0 shadow-none">
<div class="input-group-text">
<input class="form-check-input mt-0" type="radio" value="" aria-label="Radio button for following text input">
</div><span>Default radio</span>
</div>
</li>
</ul>
</btn-group>

Dark Dropdown

Main heading and any sub-content in dropdown.

Unique dropdown

Unique way to represent form dropdown and text dropdown.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<div class="btn-group">
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">Dropdown form</button>
<form class="dropdown-menu p-4 form-wrapper">
<div class="mb-3">
<label class="form-label" for="exampleDropdownFormEmail2">Email address</label>
<input class="form-control" id="exampleDropdownFormEmail2" type="email" placeholder="email@example.com">
</div>
<div class="mb-3">
<label class="form-label" for="exampleDropdownFormPassword2">Password</label>
<input class="form-control" id="exampleDropdownFormPassword2" type="password" placeholder="Password">
</div>
<div class="mb-3">
<div class="form-check">
<input class="form-check-input" id="dropdownCheck2" type="checkbox">
<label class="form-check-label f-14" for="dropdownCheck2">Remember me</label>
</div>
</div>
<button class="btn btn-dark" type="submit">Sign in</button>
</form>
</div>
<div class="btn-group">
<button class="btn btn-dark dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Text </button>
<div class="dropdown-menu p-4 text-muted form-wrapper">
<p>Some example text that&apos;s free-flowing within the dropdown menu.</p>
<p class="mb-0">And this is more example text. </p>
</div>
</div>

Justify contents

Use thetext-start/text-center/text-end to change dropdown texts.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<div class="common-flex">
<div class="btn-group">
<button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Text-left</button>
<ul class="dropdown-menu dropdown-block text-start">
<li><a class="dropdown-item" href="#">Hello..</a></li>
<li><a class="dropdown-item" href="#">How are you?</a></li>
<li><a class="dropdown-item" href="#">What are you doing?</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-info dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Text-center</button>
<ul class="dropdown-menu dropdown-block text-center">
<li><a class="dropdown-item" href="#">Chocolate</a></li>
<li><a class="dropdown-item" href="#">Ice-cream</a></li>
<li><a class="dropdown-item" href="#">Trophy</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Text-right </button>
<ul class="dropdown-menu dropdown-block text-end">
<li><a class="dropdown-item" href="#">I'm fine.</a></li>
<li><a class="dropdown-item" href="#">ohh wow!!</a></li>
<li><a class="dropdown-item" href="#">That's the good news! </a></li>
</ul>
</div>

Alignments

Use thedropstart/dropup/dropendthis class through change dropdown directions.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<div class="btn-group dropup">
<button class="btn btn-warning dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Warning top</button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Be careful </a></li>
<li><a class="dropdown-item" href="#">Notifications</a></li>
<li><a class="dropdown-item" href="#">Beware </a></li>
</ul>
</div>
<div class="btn-group dropend">
<button class="btn btn-success dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Success right</button>
<ul class="dropdown-menu dropdown-block text-end">
<li><a class="dropdown-item" href="#">Good luck </a></li>
<li><a class="dropdown-item" href="#">Good job </a></li>
<li><a class="dropdown-item" href="#">Done!</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Primary bottom</button>
<ul class="dropdown-menu dropdown-block text-end">
<li><a class="dropdown-item" href="#">It's important</a></li>
<li><a class="dropdown-item" href="#">Happy life </a></li>
<li><a class="dropdown-item" href="#">Another work</a></li>
</ul>
</div>
<div class="btn-group dropstart">
<button class="btn btn-danger dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Danger left</button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Threat </a></li>
<li><a class="dropdown-item" href="#">Dangerous</a></li>
<li><a class="dropdown-item" href="#">Alert </a></li>
</ul>
</div>

Helper dropdown

Unique way to represent form dropdown and text dropdown.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<div class="btn-group">
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Helper Card</button>
<ul class="dropdown-menu dropdown-block p-3 dark-form">
<li>
<h6 class="fs-6 fw-bold pb-2">Learn More!</h6>
<p class="dropdown-item p-0 helper-truncate"> There is a lot of information available here</p>
</li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-warning dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Warning Card</button>
<ul class="dropdown-menu dropdown-block p-3 dark-form">
<li>
<h6 class="fs-6 fw-bold pb-2">Warning!</h6>
<p class="dropdown-item p-0 helper-truncate"> Please! Check your notifications.</p>
</li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-info dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Alert Card</button>
<ul class="dropdown-menu dropdown-block p-3 dark-form">
<li>
<h6 class="fs-6 fw-bold pb-2">Danger</h6>
<p class="dropdown-item p-0 helper-truncate" href="#">It's a danger path.</p>
</li>
</ul>
</div>

Divider dropdown

When the.show class starts, dropdown appears. And.dropdown-dividerto change dropdown section.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<div class="btn-group">
<button class="btn btn-success rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Wishlist</button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Shoes </a></li>
<li><a class="dropdown-item" href="#">Bag</a></li>
<li><a class="dropdown-item" href="#">Clothes </a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Separated link</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-primary rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Sports </button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Badminton</a></li>
<li><a class="dropdown-item" href="#">Tenis </a></li>
<li><a class="dropdown-item" href="#">Kho-Kho</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Separated link</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-secondary rounded-pill dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Colors </button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Orange </a></li>
<li><a class="dropdown-item" href="#">Yellow </a></li>
<li><a class="dropdown-item" href="#">Red </a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Separated link</a></li>
</ul>
</div>

Sizing dropdown

When the.show class starts, dropdown appears. And[.btn-lg/.btn-sm/.btn-xs]class through button size changed.

<!--You can use .dropdown-menu and inside added .dropdown-item.*(dropdown list)-->  
<div class="btn-group">
<button class="btn btn-info light btn-lg dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Large button </button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Separated link</a></li>
</ul>
</div>
<div class="btn-group">
<button class="btn btn-dark light btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Small button </button>
<ul class="dropdown-menu dropdown-block">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Separated link</a></li>
</ul>
</div>