Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Feature sections

7 examples. Resize any preview to see it at phone and tablet widths.

Feature Tabs

Pro

A vertical tab list that advances on a timer with a dwell indicator, pauses on hover and focus, and cross-fades a detail panel.

The source for this block is part of Truffle Pro.

Feature Grid

Free

Six features in a ruled grid that collapses from three columns to one, with icon tiles that respond to hover.

Feature Bento

Pro

A bento grid with a live globe and a progress ring as feature visuals.

The source for this block is part of Truffle Pro.

How It Works

Free

Three numbered steps joined by a rule that runs down the side on phones and across the top on wider screens, each with how long it takes.

Hide code
components/blocks/how-it-works.tsx
import { CloudUpload, Columns3, Send } from "lucide-react";

const steps = [
  { icon: CloudUpload, title: "Bring your contacts", body: "Drop in a CSV or connect your inbox. Duplicates are merged before anything is saved.", detail: "About 2 minutes" },
  { icon: Columns3, title: "Shape your pipeline", body: "Name the stages your team already uses. Deals move with a drag or a keystroke.", detail: "About 5 minutes" },
  { icon: Send, title: "Send the first follow-up", body: "Pick a template, see who opened it, and get a nudge when a reply is overdue.", detail: "The same afternoon" },
];

export default function HowItWorks() {
  return (
    <section aria-labelledby="how-title" className="w-full px-6 py-16 sm:px-10 sm:py-20">
      <div className="mx-auto max-w-5xl">
        <div className="max-w-xl">
          <h2 id="how-title" className="text-balance text-3xl font-semibold tracking-[-0.035em] sm:text-4xl">
            Up and running before lunch.
          </h2>
          <p className="mt-3 text-pretty leading-relaxed text-muted-foreground">Three steps, in the order you would do them anyway. No implementation call, no consultant.</p>
        </div>
        <ol className="mt-12 grid gap-10 md:grid-cols-3 md:gap-8">
          {steps.map(({ icon: Icon, title, body, detail }, i) => (
            <li key={title} className="relative flex gap-5 md:flex-col md:gap-0">
              <div className="flex flex-col items-center md:flex-row">
                <span className="relative grid size-11 shrink-0 place-items-center rounded-xl border border-border bg-card text-foreground shadow-[0_1px_2px_rgb(0_0_0/0.05)]">
                  <Icon className="size-5" aria-hidden />
                  <span aria-hidden className="absolute -end-2 -top-2 grid size-5 place-items-center rounded-full bg-foreground text-[11px] font-semibold tabular-nums text-background">
                    {i + 1}
                  </span>
                </span>
                {/* The rule to the next step: down the side on phones, across the top from tablets up. */}
                {i < steps.length - 1 ? <span aria-hidden className="mt-2 w-px flex-1 bg-border md:ms-4 md:mt-0 md:h-px md:w-auto" /> : null}
              </div>
              <div className="pb-2 md:mt-6 md:pe-6">
                <h3 className="text-lg font-medium tracking-tight">
                  <span className="sr-only">Step {i + 1}: </span>
                  {title}
                </h3>
                <p className="mt-2 text-pretty leading-relaxed text-muted-foreground">{body}</p>
                <p className="mt-3 text-[13px] font-medium">{detail}</p>
              </div>
            </li>
          ))}
        </ol>
      </div>
    </section>
  );
}

Integrations Grid

Pro

Integrations as cards with a category filter, a search and a connect button that confirms in place.

The source for this block is part of Truffle Pro.

Practice Areas

Pro

Eight practice groups in a ruled grid, each a single link with an icon, a line on the work, the size of the team and its ranking band.

The source for this block is part of Truffle Pro.

Alternating Features

Free

Three features in rows that swap sides, each with an eyebrow, a heading, a paragraph, three checked points, a link and a product picture. The text stays first in reading order on every row.