Skip to content

Search Button

Search Button component is a simple button that can be used to toggle a Search Box.

Installation

To install the Orama UI Components library, you can follow the instructions here.

Usage

The Search Button supports the following options.

OptionDescriptionDefault
colorSchemeThe selected color scheme. (dark,light,system)dark
sizeThe size of the button. (small,medium,large)medium
labelThe label of the button.Search...

Example

Here is an example of how to use the Search Button component in your application using React.

import { OramaSearchButton } from '@orama/react-components';
<OramaSearchButton
label="Search something..."
size="large"
/>