Gestures
Gestures are all the ways people interact with UI elements using touch
- Gestures help people navigate, take action, or transform content
- UI elements should respond to gestures in real time
- Tap, scroll, and swipe are common gestures
Resources
| Type | Link | Status |
|---|---|---|
| Design | Design Kit (Figma) | Available |
Types of gestures
Tap
People can navigate to destinations and interact with elements through touch.
Double tap
Two quick taps allows people to zoom in and out of content.
Long press
People can access additional functionality by pressing on elements for an extended time.
Scroll and pan
People can slide surfaces vertically, horizontally, or in any direction to move through content.
Swipe
People can navigate horizontally to:
- Switch between peer views like tabs
- Complete actions
Predictive back
On Android, a person can swipe left or right on certain components as a way to navigate to a previous destination. This gesture is called predictive back.
Before completing the swipe, the person can decide to continue to the previous view or stay in the current view.
Compatible components are:
- Bottom sheet
- Navigation bar
- Navigation rail
- Search bar
- Side sheet
Drag
People can move elements around and slide surfaces in and out of view.
Pick up and move
A long press and drag allows people to reorder content.
Pinch
People can scale surfaces to navigate between screens.
Compound gestures
Users can fluidly transition between various gestures, like panning and pinching in a map view.