<div class="wrapper">
  <select data-rich-select>
    <option value="html">HTML</option>
    <option value="css" disabled>CSS</option>
    <option value="javascript">JavaScript</option>
  </select>
</div>
.wrapper {
  margin: 3rem;
}
new TomSelect(
	'[data-rich-select]',
)

External CSS

  1. https://cdn.jsdelivr.net/npm/tom-select@2.2.2/dist/css/tom-select.css

External JavaScript

  1. https://cdn.jsdelivr.net/npm/tom-select@2.2.2/dist/js/tom-select.complete.min.js