<Selectname="city"placeholder="Please select city"options={[{ value: "beijing", label: "Beijing" },{ value: "shanghai", label: "Shanghai" },{ value: "guangzhou", label: "Guangzhou" }]}/>


Property Name | Type | Description | Default value |
name ★ | string | Form Field Name | - |
options ★ | SelectOption[] | Option List | - |
onChangeAction | ActionConfig | Action triggered on value change | - |
placeholder | string | Placeholder text | - |
defaultValue | string | Default Value | - |
variant | "outline" | "solid" | "soft" | "ghost" | visual style | "outline" |
size | "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | component size | "md" |
pill | boolean | whether the shape is capsule | false |
block | boolean | whether the element is block-level (100% width) | false |
disabled | boolean | Disabled or not | false |
clearable | boolean | whether to display the clear button | false |
Property Name | Type | Description | Default value |
value ★ | string | Option value | - |
label ★ | string | Option display text | - |
icon | string | icon name or URL | - |
badge | string | badge text | - |
description | string | Description text | - |
color | string | Option color | - |
disabled | boolean | Disabled or not | false |
className | string | Customize CSS class name | - |
Feedback