Search bar
Allow users to enter a query or keyword to search through content within a website.
Size


Small: Use in section header alongside with other small size buttons and tabs.
Medium: Use in section header alongside with other medium size buttons and tabs.
Large: Use in hero or the main section where search function is at the center.
States


- Show shortcut hint on default empty field.
otl-gray-300colour when on hover state.- Filled text in
txt-black-900colour. - Hide shortcut hint and show “Clear” or “X” symbol on filled textfield. Click to clear filled text.
- Show focused ring when field is on focus state. After pressed “/” to focus.
- Set placeholder text & button to 20%.
Search result dropdown


- Show focus ring when type cursor still in the field. Hide focus ring is not focused or cursor it not in the search field.
- Search result hover state.
bg-washed - Category label. 2nd item onwards have
16pxpadding-top. - Highlight search inline text. Default product brand colour and
semiboldfont. - Max-height:
400px(scrollable)