Components
SearchButton
Search action with full/icon and circle/square variants.
SearchButton accepts standard button attributes and adds a variant and isLoading
state. It renders its own magnifier SVG; do not replace it with an icon dependency.
string
boolean
Variants
| Prop | Values | Notes |
|---|---|---|
variant | full-circle, icon-circle, full-square, icon-square | Shape and whether a label is shown |
isLoading | boolean | Loading presentation |
| Standard button props | e.g. onClick, aria-label, disabled | Forwarded to the native button |
Responsive behaviour
The button does not grow with its container. In the variant grid, items wrap on narrow
screens; icon-only variants keep an accessible name via aria-label.
Usage
import { SearchButton } from '@/components/booking/search/SearchButton';
<SearchButton variant="full-circle" onClick={submitSearch}>Search</SearchButton>