You can insert any type of content within the dropdown menu.
You simply need to use a <div> instead.
<div>
General
This username is available
This email is invalid
Loading
Checkboxes & Radios
Colors
Sizes
Select
File Input