Skip to content

Select

Native select on the shared control treatment; chevron drawn in CSS (currentColor) so both themes reach it.

Prop Type Notes
className string
children React.ReactNode

Other props pass through to the root element (React.SelectHTMLAttributes<HTMLSelectElement>).

Preview

Declarations

TypeScript
export interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
  className?: string;
  children?: React.ReactNode;
}

/**
 * Native select on the shared control treatment; chevron drawn in CSS
 * (currentColor) so both themes reach it.
 */
export function Select(props: SelectProps): React.JSX.Element;