Skip to main content

CTA · Floating contact

A round button fixed in the bottom right corner, with its text beside it. It opens a panel with a title, a text, your contact details and your social profiles.

CTA · Floating contact

See it live: CTA · Floating contact on fancybricks.co — the live preview, and the button that copies it.

Or open the preview on its own — narrow the window to see it on a phone — and in dark mode.

Structure​

This is what the Bricks Structure panel shows after you paste the template. Component instances say which component they are.

Floating contact (FBK Floating panel)
Panel content
Intro (FBK Intro)
Contact details
Contact · Write to us (FBK Icon item)
Contact · Call us (FBK Icon item)
Contact · Opening hours (FBK Icon item)
Contact · Visit us (FBK Icon item)
Social (FBK Social)

The template also pastes a dashed note above the section, with the short version of this page. It only shows inside the builder, never on the published page — see Builder notes.

FBK Floating panel​

This template is built on its own component, FBK Floating panel: select it in the Structure panel and everything below is in its Properties.

A button fixed in a corner of the screen that opens a panel: put anything in the Content slot. Works without code (details/summary); the script adds Esc and click outside to close.

FBK Floating panel in the Bricks panel, with its own properties

FBK Floating panel in the Bricks panel: its own properties are at the top.

  • Button text: Also the name screen readers give the button: say what it opens.
  • Icon: Bar style: an arrow that points up (it turns over when open).

Style

  • Style: Button: a round button with its text beside it. Bar: a tab on the bottom edge; the panel opens above it with the same width (full width on phones). Options: Button · Bar.
  • Corner: Which bottom corner of the screen the button and panel sit in. Options: Bottom right · Bottom left.
  • Pulse: A ring leaves the round button three times when the page loads, then rests. Options: Off · On.
  • Hover effect: Under the mouse and on keyboard focus the round button takes its look's hover (Solid: it darkens; Bar: the tab takes a light tint). Options: Off · On.
  • Look: Plain: no box. Soft: a tinted box that fills on hover. Outline: a thin edge that fills on hover. Solid: filled. Elevated: a raised surface with a small shadow. The same looks as every Fancy Bricks component (and the buttons: Ghost, Secondary, Outline, Primary). Options: Plain · Soft · Outline · Solid · Elevated.
  • Tone: Brand: your accent color. Neutral: the text color around it. White: the same on every background, for controls over photos. Options: Brand · Neutral · White.
  • Shape: Round: a circle on icons, a pill on text. Blob: a bubble that turns round on hover (icons). Options: Rounded · Round · Square · Blob.
  • Background: Dark or Brand turns the panel dark or brand. Options: Auto · Light · Dark · Brand.

How to adjust​

Every step is the same move: pick the element in the Structure panel, change its Properties.

Where are those panels?

How to adjust a template shows every one of them in a screenshot of the real builder: the Structure and Properties panels, the classes on an element, a component's style families and the field where a CSS variable goes.

The classes this element carries, in the Bricks panel.

The classes this element carries, in the Bricks panel.

This template's own component, with its Style group open.

This template's own component, with its Style group open.

  1. Paste the template in Bricks first — see Copy and paste.
  2. Select Floating contact (FBK Floating panel) › Properties: Button text, Icon · Style group: Style, Corner, Pulse, Hover effect, Look, Tone, Shape, Background.
  3. Select Intro (FBK Intro) › Properties: Eyebrow, Hide eyebrow, Title, Title level, Lead, Hide lead · Style group: Eyebrow style, Highlight, Title size, Accent line · Layout group: Alignment, Layout, Background, Spacing · Motion group: Reveal in slider.
  4. Select Contact · Write to us, Contact · Call us, Contact · Opening hours (+1 more) (FBK Icon item) › Properties: Icon, Title, Title tag, Text · Show or hide group: Hide icon, Hide text · Style group: Layout, Look, Tone, Shape, Size, Alignment, HTML tag, Background.
  5. Select Social (FBK Social) › Properties: Networks group: Facebook link, Instagram link, X link, LinkedIn link, YouTube link, TikTok link, Hide Facebook, Hide Instagram, Hide X, Hide LinkedIn, Hide YouTube, Hide TikTok · Style group: Look, Tone, Shape, Size, Show names, Hover effect, Background.

Finish by hand​

  • Put this block once per page (or in a template that covers the whole site): it stays in the bottom right corner of the screen. Change the text and the icon in its properties; the panel content is in its Content slot.
  • Contact details: the email and phone are links in each item's text (mailto: and tel:). Social profiles: the links are in the FBK Social properties.
  • It opens and closes without code. The small script inside adds closing with Esc and with a click outside; it needs "Execute code" for the role and can be deleted.
  • The pulse is the class fbk-float--pulse (property Pulse): three rings when the page loads. The open state is %root%[open] in .fbk-float (it sets --fbk-float-open); the panel's entrance is in .fbk-float__panel.
  • Hover effects: the round button darkens under the mouse (property Hover effect, class fbk-float--hover), and the email and phone links take the accent color (class fbk-floatcontact--hover on Panel content). Remove either for a static look.

On phones​

The template is designed desktop first, the Bricks default, and only changes at the two widths the library uses:

  • 991px and below — .fbk-intro.
  • 767px and below — .fbk-float.

Those changes live in Bricks' own breakpoint fields, so you edit them where you always do: pick the breakpoint in the toolbar and the same fields follow.

Careful with the classes shared by the whole library (fbk-section, fbk-intro, the component classes): a change there shows up in every template that uses them.

If your site's breakpoints are set up mobile first, copy the mobile-first variant of the template instead — see Copy and paste.

Accessibility​

In this template, keyboard focus is visible on every interactive piece; movement is cut back when the visitor's system asks for less motion; the state screen readers need is already set (aria-hidden, aria-label).

What is checked on every template, and what depends on your own palette: Accessibility.

Dark mode​

This section stays light whatever your site does: it does not carry the fbk-section--auto-dark class, which is only added to templates checked on a dark background.

How the library follows your site's color scheme: Dark mode and preview.

Replaces​

  • 01 - Floating contact from Fancy Bricks 2.0
  • 01 - Floating from Fancy Bricks 1.0

What happened to the old libraries, and what to do with pages already built with them: Migrating from 1.0/2.0.