Skip to content
Material Design 2
Main Navigation
v3
v2
v1

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

Appearance

Sidebar Navigation

Material System

Introduction

Material studies

About our Material studies

Basil

Crane

Fortnightly

Owl

Rally

Reply

Shrine

Material Foundation

Environment

Surfaces

Elevation

Light and shadows

Layout

Understanding layout

Pixel density

Responsive layout grid

Spacing methods

Component behavior

Applying density

Navigation

Understanding navigation

Navigation transitions

Search

Color

The color system

Applying color to UI

Color usage

Text legibility

Dark theme

Typography

The type system

Understanding typography

Language support

Sound

About sound

Applying sound to UI

Sound attributes

Sound choreography

Iconography

Product icons

System icons

Animated icons

Shape

About shape

Shape and hierarchy

Shape as expression

Shape and motion

Applying shape to UI

Motion

Understanding motion

The motion system

Speed

Choreography

Customization

Interaction

Gestures

Selection

States

Communication

Confirmation & acknowledgement

Data formats

Data visualization

Empty states

Help & feedback

Imagery

Launch screen

Onboarding

Offline states

Writing

Machine learning

Machine learning patterns

Object detection: live camera

Object detection: static image

Barcode Scanning

Material Guidelines

Material Theming

Overview

Implementing your theme

Usability

Accessibility

Bidirectionality

Platform guidance

Android bars

Android fingerprint

Android haptics

Android icons

Android navigating between apps

Android notifications

Android permissions

Android slices

Android split-screen

Android swipe-to-refresh

Android text selection toolbar

Android widget

Cross-platform adaptation

Components

App bars: bottom

App bars: top

Backdrop

Banners

Bottom navigation

Buttons

Buttons: floating action button

Cards

Checkboxes

Chips

Data tables

Date pickers

Dialogs

Dividers

Image lists

Lists

Menus

Navigation drawer

Navigation rail

Progress indicators

Radio buttons

Sheets: bottom

Sheets: side

Sliders

Snackbars

Switches

Tabs

Text fields

Time pickers

Tooltips

On this page

Search ​

Search allows users to quickly find app content.

Search hero image

Usage ​

Search allows users to quickly locate content across an app. Basic search enables users to input a query into a search text field to view related results.

Search query input methods can be extended to include historical suggestions, auto-completion of queries, and voice input.

Persistent search ​

Use persistent search when search is the primary focus of your app. The search text field is presented inside of a search bar, ready to receive focus.

Usage ​

  1. When in focus, the search experience expands to fill the entire screen. Optionally, historical search suggestions can be displayed below the text field.
  2. A user can type a query or select from a suggestion (if available). Upon pressing Return, the search is submitted.
  3. Search results are displayed below the search bar.
  4. To release focus from the search box and dismiss search suggestions, the user taps the Up arrow.
Persistent search field receiving focus, loading results, and returning to an unfocused state

Persistent search bar without focus (default)
Persistent search bar without focus (default)
Persistent search bar in focus, with cards of suggested queries below
Persistent search bar in focus, with cards of suggested queries below

Expandable search ​

Use expandable search when search is not the primary focus of your app. Expandable search displays a search icon in the toolbar, instead of an open search text box.

Usage ​

  1. The user taps the search icon (in the toolbar) to transform it into a focused search bar.
  2. As a user types, historical search suggestions can be shown beneath the search bar.
  3. Upon entering a query or choosing a suggestion, pressing Return submits the search.
  4. Results appear below the search bar and scroll beneath it.

When displaying results, the search text field remains visible, but not in focus. Tapping the Up arrow releases the focus from search, dismisses suggestions and the on-screen keyboard, and returns the toolbar to its original state.

Expandable search bar opening from an icon and loading results

Expandable search in its default state
Expandable search in its default state
Search text field in focus with auto-complete suggestions
Search text field in focus with auto-complete suggestions
Pager
Previous pageNavigation transitions
Next pageThe color system

Released under the Apache-2.0

Copyright © 2018-Present Google

https://m2.material.io/design/navigation/search.html

Released under the Apache-2.0

Copyright © 2018-Present Google