NavigationCallBar

Open in Create
Search
astronomic.dev

CallBar

Pro

On phones, a bar at the bottom with Call and Get a quote, which never covers the page's own content.

File
CallBar.astro
Group
Navigation
Kind
Interactive: inline script
Examples
3
import CallBar from "@astronomic/ui-pro/components/CallBar.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

At the bottom on phones

Brassfield Plumbing: Call now (with a phone tile) and Get a quote. Below the md fold point the bar is fixed at the bottom, and the page gets its real height as bottom space and scroll padding, so the jumps, the footer's last line and a fixed notice with bottom-callbar all sit above it. Set the frame to 390 and scroll inside it. From 768px up it is gone.

main.astro

With a Navbar that folds at lg

collapse="lg", the same as the page's Navbar: the bar shows up to 1024px. Set the frame to 900 to see it.

lg-fold.astro

Long labels

Labels wrap and balance inside each button (at least 52px tall); the bar grows, and the page's bottom room grows with it, measured, never guessed. The same holds at 200% text size.

long-labels.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.