Forms

Search field

The header search: one ink underline, no box, the placeholder in Garamond and the glyph at the end.

components/coach/search-field.tsx

Examples

Default
Wider, with a hint

Usage

components/coach/search-field.tsx
import { SearchField } from "@/components/coach/search-field";

<SearchField name="q" />

Props

PropTypeDefaultDescription
placeholderstring"Search"Set in Garamond, in ink, as the live site does.
classNamestringMerged last, so it can override layout. Keep brand styling in the component.
...propsOmit<InputHTMLAttributes, 'type'>name, value, onChange. The type is always search.

Where it's used