Beautiful, accessible custom select components
Simply add the HTML structure and include the JavaScript file:
<div class="custom-select" data-type="single">
<input type="hidden" name="select-name">
<button type="button" class="select-btn">
<span class="select-label">Select an option</span>
<i data-feather="chevron-down"></i>
</button>
<ul class="select-list">
<li data-value="1" data-label="Option 1">Option 1</li>
<!-- More options -->
</ul>
</div>
<script src="script.js"></script>
<script>feather.replace();</script>