Select

This component is an implementation of a custom html select

Option without title


Option with title


Type


Bottom Sheet


Radio


Kind


Search


Disabled


Disabled Option


Error


Border Radius


Width


Scroll Bar Color


Without Check


Options size


Label size


Label Color


Container Color


Background Color


Container Background Color


Options Background Color


Hover Border Color


Border Color


Separator


Option Text Color


Hover Option Text Color


Hover Background Option Color


Selected Option Color


Option Container Height


Option Container Title


Select Props

NameTypeDefaultRequiredDescription
idstringYesID of the element
namestringNoName of the element
valuevalue: string | number; label: string | numberNoDefault value of the select
labelstring | ReactNodeNoDescription of the select
typeStandard | StandardWithTitle | Multiple | MultipleWithTitleStandardNoSet defined the type of the component
buttomSheetbooleanNoSet defined whether the options should always be displayed as bottomSheet or never.
searchbooleanNoAdd a search engine to the options
disabledbooleanfalseNoSet input to disabled mode
borderRadiusstringNoDefine amount of border radius in select style
opitonsSizestringNoSet the size of the options
opitonsPaddingstringNoSet the padding of the options
labelSizestringNoSet the size of the select label
labelColorstringNoSet the color of the select label
containerColorstringNoSet the color of the container text
backgroundColorstringNoSet the color of full select
containerBackgroundColorstringNoSet the color of container select
optionsBackgroundColorstringNoSet the color of options select
disabledbooleanfalseNoSet the disabled state to specific option
errorstringNoDefines the styles and text of error
widthstringprimaryNoDefines the width of select
kindprimary | secondary | tertiaryprimaryNoSet defined styles of the component
hoverBorderColorstring | 'none'NoDefines the hover color of the select
optionTextColorstringNoDefines the color of the different options
borderColorstring | 'none'NoDefines the border color of the select
SeparatorbooleanNoSet separator between options
hoverOptionTextColorstringNoDefines the color text when hover of the different options
hoverBackgroundOptionColorstringNoDefines the hover color of the different options
selectedOptionColorstringNoDefines the color when the option has been chosen
withoutCheckbooleanNoDo not check when the option has been chosen
heightstringNoDefines the height of select in px
selectTitlestringNoSet title top of the options container only in mobile size
scrollbarColorstringNoSet scrollbar color, this must be defined in hsl format
onChangestateNoThe result will be sent through this set
optionsArray of objects with value: string|number and label: string|number or Array of objects with title: string|number and options: Array of objects with value: string|number and label: string|numberYesThe different options of the select