BunnyJS Dropdown, Autocomplete, CustomSelect examples

By default Bootstrap 4 dropdown classes are used.

Free online country REST API https://restcountries.eu/ is used in this example to get data via AJAX.

Dropdown

Dropdown with dropdown-hover attribute

This dropdown opens on mouse hover, you may move mouse outside and get it back fast

Dropdown with dropdown-keep-inside attribute

This dropdown will not close on item click

Dropdown with Form

Native select

Native multiple select

Custom Select

Cool option with custom styles Cool option with custom styles and image Another option with SVG

Custom Multiple Select

Cool option with custom styles Cool option with custom styles and image Another option with SVG

Autocomplete

Current hidden input value:

image/svg+xml