EG Xena Developer
WebsiteSign inDesign System
  • Introduction
  • The possibilities
    • Best practices
    • User experience
  • Development
    • Get started
      • Become a developer
      • Register your app
      • The Xena API
      • Authorization
      • Using OAuth
      • Using Xena Api with OAuth
      • Using WebHooks
      • Using Websync
      • Using Xena API Key
      • Creating plugins
    • Samples
    • API documentation
      • Xena
      • Cars (Giulia)
      • Articles & prices (Gaia)
  • User interface
    • Xena Design System
    • Use our stylesheet
    • Design Guide
      • Alerts and warnings
      • Buttons
      • Colors and fonts
      • Collapsible
      • Dropdowns
      • Forms
      • Icons
      • Layout
      • Modals
      • Navigation
      • Pagination
      • Panels
      • Tables
      • Other components
Powered by GitBook
On this page
  1. User interface
  2. Design Guide

Dropdowns

Dropdowns are used as menus or shortcuts.

PreviousCollapsibleNextForms

Last updated 4 years ago

Standard dropdown:

<div class="dropdown">
    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Dropdown toggle</button>
    <ul class="dropdown-menu">
        <li><a href="#"><i class="fas fa-edit"></i> Edit rule</a></li>
        <li><a href="#"><i class="fas fa-trash"></i> Delete rule</a></li>
    </ul>
</div>

If using in the right side of the screen, add dropdown-menu-right:

 <div class="dropdown">
    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Dropdown toggle (right)</button>
    <ul class="dropdown-menu dropdown-menu-right">
        <li><a href="#"><i class="fas fa-edit"></i> Edit rule</a></li>
        <li><a href="#"><i class="fas fa-trash"></i> Delete rule</a></li>
    </ul>
</div>
Dropdown menu aligning left.
Dropdown menu aligning right.