Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

CTA-002 Published

Sticky CTA Button UI Design

A sticky CTA button that stays small at the edge of the screen as people scroll, so they can get in touch midway through reading.

FigmaThis part is included in our free, editable Figma file: 235 website UI patterns across 32 parts, 2 designs each Open in Figma Community ↗ (opens in a new tab)

Wireframe (desktop) | Sticky CTA

Sticky CTA UI design (desktop wireframe)

Wireframe (mobile) | Sticky CTA

Sticky CTA UI design (mobile wireframe)

What changes on mobile

  1. A full-width bar at the bottom of the screen: On a phone the bottom of the screen is easiest to reach, so it sits where a thumb can tap it.
  2. One line tall: The bar is kept low so it does not narrow the readable area too much.
  3. Allowing for the device inset and the bar height: Bottom padding keeps the button clear of the home indicator, and padding the height of the bar keeps the end of the content from hiding behind it.
  4. Hidden while typing if needed: While a field or select is in use, the bar must not overlap the input area or the keyboard.

Before you choose this pattern | Sticky CTA

Good fit

  • A long page where some people want to get in touch midway
  • Mostly viewed on mobile, with the buttons at the top and end of the page far apart
  • Pages people weigh up as they read: services, pricing, case studies
  • Service pages, pricing pages, landing pages

Poor fit

  • A short page where the end-of-page CTA is soon in view (nothing to follow, it only gets in the way)
  • The contact form page (it would hide the send button and fields)
  • Many things already fixed at the bottom of the screen, such as a chat widget (decide a non-overlapping layout first)

Why this wireframe works | Sticky CTA

People can get in touch midway through reading

On a long page, the buttons at the top and end are off screen for a long time. A small button stays at the edge of the screen while scrolling, so it can be pressed from anywhere on the page.

Hidden while another button is in view

Showing the sticky button while the top button or end-of-page CTA is on screen puts two identical buttons side by side. It is hidden while another button is in view and shown only when none is.

Small enough not to disturb reading

The bigger the sticky element, the smaller the readable area. On desktop it sits small at the bottom right; on mobile it is a one-line bar at the bottom.

A short note of what people want to know before clicking

A button alone chasing the reader does not say what happens when pressed. A short note such as “Free consultation · reply within 2 business days” sits beside it.

On mobile, a full-width bar within thumb reach

On a phone the bottom of the screen is easiest to reach. The bar spans the bottom of the screen and stays clear of the device inset, such as the home indicator.

Common mistakes | Sticky CTA

Shown from the moment the page opens, doubling the first button

With a contact button at the top of the page, showing the sticky button at the same time puts two identical buttons on screen. Show it once the first button has scrolled out of view, and hide it when the end-of-page CTA appears.

It covers content or buttons so they cannot be read or pressed

A sticky bar over the last content or a focused element makes it unreadable or unpressable. Add bottom padding the height of the bar, and make sure keyboard focus never lands behind it.

It overlaps other fixed elements

Chat widgets, back-to-top buttons and cookie notices are often fixed at the bottom too, and easily collide with the sticky button. List everything fixed at the bottom and decide non-overlapping positions and how many show at once.

Shown on the contact form page too

A “Book a free consultation” button chasing people on the form page hides the send button and fields, and on mobile overlaps the input area or keyboard. Do not show it on form pages, and on other pages hide it while a field is in use if needed.

Kept moving to attract attention

Blinking or shaking to draw the eye disturbs reading. Keep the show/hide transition subtle, and stop the motion for people who have reduced motion set.

Invisible but still reachable by keyboard

If hiding only makes it transparent or moves it off screen, keyboard focus can land on an invisible button and screen readers still read it. When hidden, remove it from keyboard navigation and screen readers too.

FAQ | Sticky CTA

Is a sticky button needed on desktop?

Not necessarily. Desktop screens are wide, and a contact button in the header often does the same job. If the page is long and the header does not stick, a small button at the bottom right is one option.

Should it have a close button?

A small bar about one line tall rarely needs one. If it covers much of the screen or carries a lot of text, provide a way to close it, and do not bring it straight back on the same page once closed.

Which pages should have it?

Long pages people weigh up as they read: services, pricing, case studies. Leaving it off the contact form page and short pages whose end-of-page CTA is soon in view keeps the screen cleaner.

Can a phone button sit in the sticky bar too?

Yes. Decide which is primary, make that button larger and the other quieter, and never give them equal weight. On mobile, make the phone button dial at once.

Related pages

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published