Search Input
Installation
Yarn
yarn add @leafygreen-ui/search-input
NPM
npm install @leafygreen-ui/search-input
Example
Output HTML
Properties
Prop | Type | Description | Default |
---|
aria-labelledby | string | Screen-reader label element. | |
state | "none" | "loading" | The current state of the SearchInput | "none" |
darkMode | boolean | determines whether or not the component appears in dark theme. | false |
sizeVariant | 'xsmall' , 'small' , 'default' , 'large' | determines the font size and padding. | default |
disabled | boolean | Determines whether the field is currently disabled. | false |