Search

Search allows users to find specific content or items by entering keywords or phrases.

search/main

Resources

Intro & Anatomy

Search components enable users to search for specific content, items, or information by entering keywords or phrases.

Use search when users need to locate particular items from large datasets or content collections, e.g. finding products, articles, or entries where users have specific search terms in mind.

Search components provide immediate feedback and results as users type, helping them quickly locate desired content without browsing through extensive lists or categories.

search/anatomy

 


 

Options & Styles

Input Value

Selected value displays the user's entered text or data.
Placeholder / Prompt is mandatory and acts as the search's label.

search/values

Icons

Left search icon is mandatory and functions as a visual label to identify the search functionality.
Right clear/close icon appears only when search input contains text, allowing users to quickly clear their search.

search/icons

States

Container states provide visual feedback for user interaction:
Default for standard search appearance
Active when users are engaging with the search field

Icon states offer interactive feedback:
Default for standard icon appearance
Hover for interactive feedback when users engage with icons

search/states

Disabled

Disabled selects show that a field exists but isn't currently available for input, e.g. when certain conditions haven't been met or the field is temporarily unavailable.

search/disabled

 


 

Best Practice & Usage

Search components should provide clear visual cues and helpful feedback to guide users through the search process. Use search for finding specific items rather than general filtering or browsing scenarios.

search/usage/do1
search/usage/dont1
search/usage/do2
search/usage/dont2
search/usage/do3
search/usage/dont3

 


 

Theming

You can customise colours, border width and radius, font styles and weights, spacings and sizes to match your design requirements.

When not using MDX icons, a slot is available to use your own icon library or SVG icons for star representations.