Skip to main content

SelectProps

Home > @backstage/ui > SelectProps

Signature:

export interface SelectProps extends AriaSelectProps<{
name: string;
value: string;
}>, Omit<FieldLabelProps, 'htmlFor' | 'id'>

Extends: AriaSelectProps<{ name: string; value: string; }>, Omit<FieldLabelProps, 'htmlFor' | 'id'>

Properties

Property

Modifiers

Type

Description

icon?

ReactNode

(Optional) An icon to render before the input

name

string

options?

Array<{ value: string; label: string; disabled?: boolean; }>

(Optional) The options of the select field

size?

'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>

(Optional) The size of the select field

value

string