Skip to content

Stats & values

About Facts

A long statement, a photo beside two short paragraphs and an action, then four figures on cards.

Layout and motion from the Kalme template — see it in context

Installation

$ npx shadcn@latest add https://framebrick.co/r/blocks/about-facts.json

Usage

import { AboutFacts } from "@/components/about-facts";

<AboutFacts
  title="A small team of strategists, writers and designers…"
  image="/about/team.jpg"
  paragraphs={["We started as three freelancers…", "Every project starts with a question…"]}
  facts={[
    { value: "80", suffix: "+", label: "Brands grown since 2018" },
    { value: "3.4", suffix: "×", label: "Average return on ad spend" },
  ]}
/>

Props

PropTypeDefaultDescription
labelstringWho we areSmall muted line above the heading.
titlestring—A long statement (h2) across the width.
imagestring—Decorative photo (3:2) beside the paragraphs.
paragraphsstring[]—One or two short paragraphs, side by side from 768px.
action{ label, href }More about usButton under the paragraphs.
facts{ value, suffix?, label }[]4 factsCards with the figure, a smaller muted suffix and the label.
classNamestring—Classes for the <section>.
  • The photo and the text stack below 1024px and share the row in equal halves from 1024px, aligned to the bottom.
  • Cards: one column, two from 768px, four from 1024px. The figures are a description list (label, then value).
  • The button rolls its label (flip-button, spring bounce 0, 0.4s); nothing else moves.

AI prompt

Paste into v0, Lovable, Bolt or Claude to rebuild this block in your own project.

Create a React + Tailwind CSS block called AboutFacts (Next.js).
- <section className="py-(--section-y)">, container mx-auto max-w-(--container) px-(--gutter), column gap-12.
- A small muted label over a long h2 (font-heading text-h2 semibold, max-w-5xl).
- A row from 1024px (items-end, gap-12, equal halves; stacked below): a 3:2 photo (rounded-xl) and a column (gap-7.5): two muted paragraphs side by
  side from 768px (gap-12), then a button whose label rolls up on hover (spring bounce 0, 0.4s).
- A <dl> grid (gap-2.5; 1 / 2 from 768px / 4 from 1024px) of cards (rounded-xl bg-muted p-7.5): the figure (font-heading text-h1) with a
  suffix (text-h3) in text-foreground/65 on top, the label (text-foreground/65) under it.
- Only shadcn variables and block tokens (secondary text on bg-muted is text-foreground/65: muted-foreground
  falls under 4.5:1 there); plain <img>.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy