If you find this website useful, your sponsorship would greatly support its ongoing development and maintenance. Learn more

Dropdown

The dropdown blade component provides a styled dropdown menu. Its only option is label which sets the dropdown label.

Inside the dropdown set its items using the dropdown-link component.

To change the classes edit the blade component at:
resources/views/components/dropdown.blade.php
resources/views/components/dropdown-link.blade.php

Example:


                
                    <x-dropdown label="Action">
                        <x-dropdown-link href="#">Edit</x-dropdown-link>
                        <x-dropdown-link href="#">Delete</x-dropdown-link>
                    </x-dropdown>
                            

© 2024 Laravel AdminTW. All rights reserved.

Built by David Carr