Skip to main content
ALEXY LINK

Select 01

A polished native select field with accessible labeling, validation states, responsive styling, and platform-native interaction.

Requirements

HTML, CSS

Dependencies

None

Usage

Copy index.html and styles.css into your project.

Typography: Inter, with a system sans-serif fallback.

About Select 01

Select 01 is a select component in the Select Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 8, 2026.

  • select
  • native select
  • select field

What the code includes

HTML + CSS + JavaScript

2 files: index.html, styles.css

  • Markup and CSS only — no JavaScript file is needed.
  • ARIA in the markup: aria-describedby, aria-invalid.
  • HTML elements used: select, label, svg.
  • Includes a prefers-reduced-motion rule for its animation.

React + TypeScript + Tailwind CSS

3 files: Select01.jsx, Select01.types.ts, Select01.tailwind.css

  • Configurable through 13 props: label, options, value, defaultValue, onValueChange, placeholder, helperText, errorText, disabled, required and 3 more.
  • Uses React hooks: useId, useState.
  • ARIA in the markup: aria-invalid, aria-describedby.
  • HTML elements used: select, label, svg.
  • Includes a prefers-reduced-motion rule for its animation.
View all Select Components (10)