Opens in a new tab

Stats · Figures by city

A functional coverage-by-city section for Bricks Builder: an intro on one side and, on the other, a list of cities each with a counting figure and a bar sized relative to the largest one, built on the native Bricks counter and progress bar. Each city name links out and lights up on hover, with Colombian cities in the demo.

Dark mode readyNeeds Code execution

Copying for Fancy Framework · Desktop first

Needs a framework. Get Fancy Framework (free)

In the annual plan, $99/year. See plans

Uses a small script. Turn on Code execution in Bricks › Settings › Custom code. How to turn on Code execution

Preview

Template details

What’s inside

The components it’s built from. They come with the template when you paste it, and you edit them from the Bricks panel.

  • FBK Button

    A link styled as a button, with style, size and width.

  • FBK Counter

    A figure that counts up when it comes into view, with a label and icon.

  • FBK Intro

    Eyebrow, title, lead and an actions slot for buttons.

Adjust it

Change these variables in Bricks to tune it; everything else follows your framework.

On the element Coverage, class fbk-wf-cities

Bars: thickness, track and fill

--fbk-t-bar
0.375em
--fbk-t-track
color-mix(in srgb, currentColor 10%, transparent)
--fbk-t-fill
var(--primary)

Row tint on hover and how far it reaches past the text at the sides

--fbk-t-row-hover
color-mix(in srgb, currentColor 5%, transparent)
--fbk-t-row-pad
var(--space-s)

How long a bar takes to fill when it comes into view (0 with reduced motion)

--fbk-t-fill-time
calc(var(--fbk-hover) * 4)

More like this

See all CTA templates