Skip to contentFacade Pro is $149 once during launch, then $199. Lifetime updates.
Facade
Browse the library

Components / Navigation

Sticky contact bar

Free

Mobile bottom bar with Call, Text, Directions and Book that hides on scroll down and returns on scroll up.

View as Markdownlucide-reactmotion

Installation

$npx shadcn@latest add https://facadeui.com/r/sticky-contact-bar.json

Usage

import { StickyContactBar } from "@/components/facade/sticky-contact-bar";

export default function Page() {
  return <StickyContactBar />;
}

Props

StickyContactBarProps is exported, so you can extend or wrap it. Every prop has a default; <StickyContactBar /> renders the example above.

Props of StickyContactBar
PropTypeDescription
phonestringPhone number in any format, used for tel: and sms: links.
addressstringStreet address for the directions link.
bookingUrlstringBooking URL.
actionsContactAction[]Override the default four actions.
thresholdnumberPixels scrolled before the bar first appears.
hideAfternumberPixels of continued downward scrolling before the bar tucks away. Scrolling up brings it back.
containedbooleanRender absolute inside the nearest positioned parent instead of fixed to the viewport.
scrollContainerRefReact.RefObject<HTMLElement | null>Element to watch for scroll. Defaults to window. Useful with `contained`.
mobileOnlybooleanHide on md screens and up. Ignored when `contained`.
classNamestring

Ask your agent

With the Facade MCP server connected, this prompt is enough:

Add the Facade sticky contact bar to this page and adapt the copy to our business.