Native Select
Usage
Include CSS
Import Tailwind and one full A3S UI style bundle.
Or import only the base CSS, Native Select component CSS, and one style pack.
Using CDN or bundler imports? See the Installation page.
Add your native select HTML
Add class="select" to a native <select>. Use standard <option> and <optgroup> elements.
Use Native Select for native browser behavior, form integration, and mobile-optimized pickers. Use Select for custom option content, multi-select behavior, or JavaScript APIs.
Examples
Groups
Disabled
Invalid
Select a fruit to continue.
Size
RTL
Set dir="rtl" on the select or a parent element.