Dropdown menus are incredibly common in web applications, so of course they're a component in Instrumental Components.
A dropdown menu essentially consists of 3 parts:
Instrumental dropdown menus can be a simple collection of links, or they can include icons for each link, and a wide range of other customization options.
rails g instrumental:dropdowns
To insert a component into a view:
rails g instrumental:dropdowns:insert
To insert a link into a dropdown menu in a view:
rails g instrumental:dropdowns:link:insert
To insert a dropdown menu into a view:
Find all of your customization options (via local variables) in these files:
app/views/shared/components/dropdowns/_dropdown.html.erb
app/views/shared/components/dropdowns/_dropdown_link.html.erb
I created Instrumental Components to make designing and building professional apps with Ruby on Rails easy, fast, and fun. I use it on all of my projects and I hope it helps you build something great.