Components
Search
Find something in the product. A central modal on desktop, and a simple field on mobile. It does not collect a name, an email, or a card.
Buy nowSearch modal
- Variant
- Modal
- Size
- md
- State
- Default
- Placeholder
- Search components
<SearchModal placeholder="Search components" />
How to use
On a large screen, search opens in the centre of the page. The field is the first thing in the modal, and results sit under it. Close it without leaving the page. Do not use this modal to collect a name, an email, or a card.
Mobile search
- Variant
- Field
- Size
- md
- State
- Default
- Placeholder
- Search
<SearchField placeholder="Search" />
How to use
On a phone, search is a single field at the top of the screen. It filters the list underneath. It does not open a modal. Keep the placeholder short.
Search exists so designers, engineers, and AI start from the same decision. The preview on this page is the component as it ships. You compose it. You do not redraw it.
Use it when the job matches the name. Reach for a neighbour in the system when it does not. Names in Figma match the names in code, which is what keeps a prototype close to what actually ships.
Tokens
| Token | Value | Use |
|---|---|---|
| --search-bg | var(--background) | Surface behind the control |
| --search-fg | var(--foreground) | Label and icon |
| --search-border | var(--border) | Edge |
| --radius-md | 10px | Default corner |
| --duration-fast | 120ms | Hover and press |
Included
- Modal and mobile field
Memorisely