Select
Installing
Install the component
npm install @supabase/ui
Getting started
Import the component
import { Select } from '@supabase/ui'
Basic
Use the parent component with the subcomponent inside for the options. Labels and descriptions can be added the the parent Select component.
LoadingControlled
This is a work in progress..
LoadingError
LoadingIcon
Insert any Icon from the Supabase UI library.
LoadingOption group
OptGroup can be used to split up the Options inside the Select.
LoadingAPI reference
Select
| Property | Type |
|---|---|
| actions | React.ReactNode |
| autoComplete | string |
| autofocus | boolean |
| children | React.ReactNode |
| className | string |
| descriptionText | string |
| disabled | boolean |
| error | string |
| icon | any |
| id | string |
| inputRef | string |
| label | string |
| labelOptional | string |
| layout | TBC |
| name | string |
| placeholder | string |
| required | boolean |
| reveal | boolean |
| size | TBC |
| style | CSSProperties |
| type | TBC |
| value | any |
| onBlur | TBC |
| onChange | TBC |
| onFocus | TBC |
Select.Option
coming soon
Select.OptGroup
coming soon
