Touch Action

    Utilities for controlling how an element can be scrolled and zoomed on touchscreens.

    Use the utilities to control how an element can be scrolled (panned) and zoomed (pinched) on touchscreens.

    Try panning these images on a touchscreen


    For a complete list of all available state modifiers, check out the documentation.

    You can also use variant modifiers to target media queries like responsive breakpoints, dark mode, prefers-reduced-motion, and more. For example, use to apply the utility at only medium screen sizes and above.