🖼️Search Field
Also known as Search Box, Search Bar, Search Input
A box where you type words to find things.
Think of it like
It is like asking a librarian. You say a few words, and they find the book.
Example
Mia types blu shoe in a shop's search. It still finds blue shoes, and shows them as she types.
Why it matters
On big sites, many people search first and browse only if search fails.
Definition
Example code
html
<input type="search" aria-label="Search products">Try it
- Running shoes$64.00
- Walking boots$89.00
- Wool socks$12.00
- Water bottle$18.50
- Running cap$22.00
- Rain jacket$110.00
6 of 6 shown, while you type. Nobody pressed enter.
Type three letters. Then misspell one on purpose and watch it still match.
Common mistake
Key takeaways
- 1Type to find. Words, not menus.
- 2Forgive slips. Match close spellings.
- 3Keep the words. Easy to change.