Skip to content
Forms

Select

A dropdown select built on Base UI primitives. Provides a styled trigger, animated content panel, and accessible keyboard navigation.

Import

import {
  Select,
  SelectContent,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@mikenotthepope/substrateui"

Composition

Select
├── SelectTrigger
│   └── SelectValue
└── SelectContent
    └── SelectItem

Disabled

API Reference

PropTypeDefaultDescription
valuestringThe controlled value of the select.
onValueChange(value: string) => voidCallback fired when the selected value changes.
defaultValuestringThe default value when uncontrolled.
disabledbooleanfalseWhen true, prevents interaction with the select.
placeholderstringPlaceholder text displayed via SelectValue when no value is selected.