Hey Jimmy!
There is a guide about how to achieve this, I havent tried it myself yet (will do in the near future).
https://medium.com/mendix/maxing-mendix-forms-ux-with-materials-ui-493583952451
Let me know if you can use this to rebuild this feature!
BTW, Maybe you should look into detail for more css, to help you, check the :before and :after Css AND also the hover/active states. This might give you more details in the css.