Tutorialsplane

Materialize Dropdown


Materialize Dropdown : Materialize provides dropdown which can be embed with the buttons. Here in this tutorial we are going to explain how you can create dropdown buttons in Materialize framework. You can also use our online editor to edit and run the code online.


Materialize Dropdown Example

Let us create very basic dropdown in materialize- create a button and add class dropdown-button to it. Add data-activates it might be id of the ul tag. Here is the complete example-

Materialize Dropdown Example:

<a class="dropdown-button btn" href="#" data-activates="myDrodown">Dropdown Menu</a>
 
  

Try it »

If you run the above example it will produce the output something like this-

Options:

Example

You can use the above options simply as below-

Materialize Dropdown jQuery Options Example

 

Materialize Tutorial

Css

Component

JavaScript