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
valuestring—The controlled value of the select.
onValueChange(value: string) => void—Callback fired when the selected value changes.
defaultValuestring—The default value when uncontrolled.
disabledbooleanfalseWhen true, prevents interaction with the select.
placeholderstring—Placeholder text displayed via SelectValue when no value is selected.