> ## Documentation Index
> Fetch the complete documentation index at: https://dokumentation.websale.de/llms.txt
> Use this file to discover all available pages before exploring further.

# ws-search-button

> ws-search-button renders a button that manually triggers the current search request from ws-search-box and updates the search result.

The `<ws-search-button>` component provides an optional button that lets the user manually submit the search input. It is used in combination with the `<ws-search-box>` component.

## Prerequisites

* The `<ws-search-box>` component must be present, since the button only performs a function in this context.

## Component

The component can be embedded within `ws-search-box` on any template as follows:

```html theme={"theme":{"light":"github-light","dark":"github-dark"},"languages":{"custom":["/languages/websale.json"]}}
<ws-search-box>
    ...
    <ws-search-button>
        <button type="button" title="Submit search">Search</button>
    </ws-search-button>
</ws-search-box>
```

## CSS & styling

This component does not generate any specific CSS classes. HTML elements can be embedded inside the component.
