Opens in a new tab

Stats · Figures with a mini chart

A KPI report grid for Bricks Builder: each card names a metric, shows its big figure, a trend tag with an arrow and a small bar chart of the breakdown. Built with the native Bricks Counter and Progress Bar elements, so the figures count up and the bars fill as they come into view.

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 Card

    A media slot, title, text, a content slot and an actions slot.

  • FBK Card grid

    A grid that takes FBK Card or FBK Icon item instances, or a query loop.

  • 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 Figures, class fbk-wf-kpi

Chart 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)

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