Select

Newform

Native select field styled with GridNest tokens, label support, helper text, disabled state, and error feedback.

import { Select } from '@/components/forge'

Preview

Select

Native select with GridNest styling.

Code Example

Props

PropTypeDefaultRequiredDescription
options{ value: string; label: React.ReactNode; disabled?: boolean }[]-YesOptions rendered inside the select
labelReact.ReactNode-NoVisible label above the select
helperTextReact.ReactNode-NoHelper text shown below the select
errorReact.ReactNode-NoError message and invalid styling
disabledbooleanfalseNoDisables interaction

Variants

defaulterrordisabled

Accessibility

  • Uses a native select element for platform keyboard support
  • Label is linked to the select via htmlFor
  • Error state sets aria-invalid

Related Components