# daisyUI Documentation - Dropdown Component Dropdown can open a menu or any other element when the button is clicked. ## Classes and Usage ### Core Classes: - **dropdown** - The main dropdown container - **dropdown-toggle** - A hidden checkbox that controls the dropdown - **dropdown-content** - The content of the dropdown (menu, etc.) - **dropdown-open** - Opens the dropdown by default - **dropdown-end** - Aligns the dropdown to the end - **dropdown-start** - Aligns the dropdown to the start - **dropdown-top** - Positions the dropdown above the trigger - **dropdown-bottom** - Positions the dropdown below the trigger (default) - **dropdown-left** - Positions the dropdown to the left of the trigger - **dropdown-right** - Positions the dropdown to the right of the trigger ## Examples ### Basic Dropdown ```html ``` ### Dropdown with Button Toggle ```html ``` ### Dropdown with Arrow ```html ``` ### Dropdown with Positioning ```html ``` ## Features - Opens a menu or any other element when the button is clicked - Multiple positioning options (top, bottom, left, right) - Alignment options (start, end) - Can be opened by default with `dropdown-open` class - Works with buttons or labels as triggers - Responsive design This component is useful for creating context menus, navigation dropdowns, user profile menus, and any interface element that requires a popup menu.