Component libraryNative select

Native select

Pro

A platform-native selection menu with help text and validation.

npx shadcn@latest add @tidal-pro/native-select
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/native-select

Import components/ui/tidal.css, components/ui/native-select.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

Extends native single-select attributes except component-owned children, multiple/size, value/defaultValue change channels, disabled/readOnly, and their ARIA mirrors. Required label and children accept native option/optgroup content. Optional description/error ReactNode values receive linked IDs without dropping numeric zero; external aria-describedby values compose. Native value/defaultValue provide controlled or uncontrolled selection. Read-only mode is an explicit controlled-only union because HTML select has no readonly attribute; it keeps the select focusable and submitted, blocks pointer/keyboard value changes, restores its supplied value if a change is dispatched, and exposes aria-readonly. Disabled or aria-disabled=true resolves to actual native disabled behavior; explicit aria-disabled=false is preserved. Error or native aria-invalid=true/string true activates linked invalid presentation while other supplied values remain available. Native name/form/required/autoComplete handlers, option semantics, className and the forwarded select ref are preserved. The component owns no custom popup, filtering, request, storage, or selection side effect.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.