Skip to main content

Hero · Sphere

A centered intro riding over the top of one photo cut into pieces on a slowly turning sphere (hover it, or the button, to see the photo whole), and under it a row with the figures on both sides and the button in the middle.

Hero · Sphere

See it live: Hero · Sphere 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.

In the builder

Preview on the front end. Scripts don't run inside the builder, so here you only see the layout: the builder shows the photo whole and still; the pieces, the turn and the pause button need the front end. Save and open the page to see the full result.

Structure​

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

Hero · Sphere
Container
Intro (over the sphere)
Intro (FBK Intro)
Photo sphere (FBK Photo sphere)
Figures and button
Figures 1
Stat · Projects (FBK Counter)
Stat · Years (FBK Counter)
Button (FBK Button)
Figures 2
Stat · Countries (FBK Counter)
Stat · Awards (FBK Counter)
Counter (JS)

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 Photo sphere​

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

One photo cut into pieces on a turning 3D sphere or helix (decoration); on hover the sphere lays flat and shows the photo whole. Pause button included. Needs "Execute code"; without it (and in the builder) the photo shows whole.

FBK Photo sphere in the Bricks panel, with its own properties

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

  • Photo: One landscape photo (3:2, at least 1200 px wide): it is cut into the pieces, so only one image loads.
  • Shape: Sphere: 36 pieces, the photo cut into 6×6. Helix: 24 strips of the photo in two and a half turns. Options: Sphere · Helix.

Style

  • Size: How big the sphere or helix is. Options: Small · Medium · Large.

Motion

  • Show the whole photo on hover: Sphere only: over the sphere, or over a button of the section, the pieces lay flat and show the photo whole. Options: On · Off.
  • Speed: How fast it turns. Options: Slow · Normal · Fast.

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 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.
  3. Select Photo sphere (FBK Photo sphere) › Properties: Photo, Shape · Style group: Size · Motion group: Show the whole photo on hover, Speed.
  4. Select Stat · Projects, Stat · Years, Stat · Countries (+1 more) (FBK Counter) › Properties: Figure, Prefix, Suffix, Label, Text, Icon · Show or hide group: Hide icon, Hide label, Hide text · Style group: Look, Tone, Shape, Rule, Icon tone, Size, Alignment, Layout, HTML tag, Background.
  5. Select Button (FBK Button) › Properties: Text, Link, Tone, Shadow on hover · Icon group: Icon, Icon position · Style group: Style, Size, Width, Hover effect.

Requirements​

  • Code execution. Needs "Execute code" enabled for the role in Bricks → Settings → Custom code, or the JS block shows as plain text instead of running.

What each requirement is, and how to set it up once for the whole site: Requirements.

Finish by hand​

  • The figure is the FBK Photo sphere component: pick ONE photo in its Photo property (landscape 3:2, at least 1200 px wide; decoration). It is cut into the pieces by CSS, so only one image loads. Shape (sphere or helix), Show the whole photo on hover, size and speed are its other options.
  • The pause button is required while it turns (WCAG 2.2.2); it needs "Execute code". Without it, and in the builder, the photo shows whole and still.
  • Hovering the sphere, or the button (also with the keyboard), lays the pieces out flat and shows the photo whole; the turn waits meanwhile.
  • The button's hover is the FBK Button effect Sweep (Hover effect dropdown; Color change for a plain one).

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-sphere__bottom, .fbk-sphere__top, .fbk-psphere, .fbk-section.

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 is dark on purpose (class fbk-section--dark), so it looks the same whether your site is in light or dark mode.

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

Replaces​

  • Hero Sphere from Fancy Bricks 2.0

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