# 3.13 Anchor the primary button at the bottom

> Chapter 3, Layout and hierarchy. Section: Actions. Guide: https://www.designguide.dev/md/03-layout-and-hierarchy.md#anchor-the-primary-button-at-the-bottom

Default · Adapts

**Rule:** On a one-task phone screen, anchor the primary button at the bottom, full width, as the only item with that look.

**Wide screen:** On a wide screen, put the primary button at the end of the form or dialog footer, at its own width. (Triggers: Width 840+, Fine pointer)

**Why:** The thumb reaches the bottom edge with no stretch, and a full-width bar is the easiest target.  **When not:** A screen with a keyboard open keeps the button above the keyboard.

- Leave 16 px of margin at the sides and bottom.
- Make the button at least 44 px high.
- At Medium, keep the pinned button, or put it in the header.

**Picture:** Do: The button spans the width at the bottom, within thumb reach. Don't: A button floats mid-screen, out of easy reach. Do: Phone: pinned bar. Window: footer button at its own width. Don't: The upload button stretches across the footer.
