Dropdowns

Dropdowns

<div class="dropdown">
    <a class="dropdown-toggle p-2" data-bs-toggle="dropdown" aria-label="Open language pair options" aria-expanded="false">
        Single dropdown
    </a>
    <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
        <a class="dropdown-item" href="#">Action</a>
        <a class="dropdown-item" href="#">Another action</a>
        <a class="dropdown-item" href="#">Something else here</a>
    </div>
</div>
<br/>
<div class="dropdown">
    <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Dropdown button
    </button>
    <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
        <a class="dropdown-item" href="#">Action</a>
        <a class="dropdown-item" href="#">Another action</a>
        <a class="dropdown-item" href="#">Something else here</a>
    </div>
</div>

Dropdown Sizes

<div class="d-flex justify-content-between">
    <div class="dropdown">
        <button class="btn btn-secondary btn-sm dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            Small Dropdown
        </button>
        <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
            <a class="dropdown-item" href="#">Action</a>
            <a class="dropdown-item" href="#">Another action</a>
            <a class="dropdown-item" href="#">Something else here</a>
        </div>
    </div>

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

    <div class="dropdown">
        <button class="btn btn-secondary btn-lg dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            Large Dropdown
        </button>
        <div class="dropdown-menu dropdown-menu-lg" aria-labelledby="dropdownMenuButton">
            <a class="dropdown-item" href="#">Action</a>
            <a class="dropdown-item" href="#">Another action</a>
            <a class="dropdown-item" href="#">Something else here</a>
        </div>
    </div>
</div>

Dropdown Actions

<div class="d-flex flex-row-reverse">
    <div class="dropdown">
        <a class="align-middle text-center btn btn-primary btn-lg" data-bs-toggle="dropdown">
            Create
        </a>
        <div class="dropdown-menu dropdown-menu-end">
            <div class="dropdown-item">
                <div class="d-flex justify-content-start align-items-center">
                    <i class="material-icons me-1">business</i>
                    <span class="ellipsis">Create a workspace</span>
                </div>
                <div class="d-flex justify-content-between align-items-center mt-1">
                    <small class="text-muted">Set up projects, collaborate and manage billing.</small>
                </div>
            </div>
            <div class="dropdown-item">
                <div class="d-flex justify-content-start align-items-center">
                    <i aria-hidden="true" class="material-icons me-1">folder</i>
                    <span class="ellipsis">Create a project</span>
                </div>
                <div class="d-flex justify-content-between align-items-center mt-1">
                    <small class="text-muted">Work on your website translation.</small>
                </div>
            </div>
        </div>
    </div>
</div>