The Select component is a wrapper around the native <select> element.
You can use the Select component, with the following props:
valueoptionsstatedefaultdefaulterrorsuccesswarningplaceholdersizemediumx-smallsmallmediumlarge<Select
bind:value={user.role}
options={roleOptions}
placeholder="Select a role"
/><FormControl>
<Label>X-Small</Label>
<Select size="x-small" options={roleOptions} placeholder="Select a role" />
</FormControl>
<FormControl>
<Label>Small</Label>
<Select size="small" options={roleOptions} placeholder="Select a role" />
</FormControl>
<FormControl>
<Label>Medium</Label>
<Select size="medium" options={roleOptions} placeholder="Select a role" />
</FormControl>
<FormControl>
<Label>Large</Label>
<Select size="large" options={roleOptions} placeholder="Select a role" />
</FormControl>