Skip to content
caliper ui docs

Blocks

Hero block

The first screen of a product page: one claim, two actions and a real artefact that proves it.

Pro
pnpm dlx shadcn@latest add @caliper/hero-block
New · NetSuite two-way sync

Month-end close for finance teams

Close the books in a morning

Halden matches every bank line to the ledger as it lands, so the close is a review, not a hunt.

14 days free · no card

halden.app/close/october
October close412 of 418 matched
Mercury · Stripe payout · INV-2291rule: payouts$18,240.00Matched
AWS · Invoice 0923vendor history$4,112.37Matched
Gusto · Payroll · 31 Octamount differs by $12.40$61,904.12Review
Figma · Annual · Org planrule: SaaS$2,880.00Matched
Brex · Card settlementstatement$9,377.80Matched
Ostra Freight · INV-2209 · Haulage, Octremittance ref$7,450.00Matched
Gusto · Payroll needs a look$12.40 more than the ledger. Likely: employer NI adjustment.

Closing the books at 1,200 finance teams, including

  • Ostra Freight
  • Lumen Labs
  • Kestrel Bio
  • Northwind
  • Tide Physio
Installs components/ui/hero-block.tsxDepends on lucide-reactMotion none in component source

When to use

Use it for

  • A landing or product page needs its opening section.
  • You can show the product doing the thing, not a stock illustration.

Skip it when

  • Inside an app; use a page header.
  • You have no proof yet; lead with the waitlist form instead.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/hero-block

Adds its 4 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { HeroBlock } from "@/components/ui/hero-block"

The worked example comes with Pro

The 54-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

HeroBlock

component
PropTypeDefaultDescription
eyebrowstring—
title *ReactNode—Use BlockEm for the one emphasised phrase.
lead *string—
primaryBlockAction—
secondaryBlockAction—
actionReactNode—Custom content in place of the actions, e.g. an install command or a sign-up field.
notestring—Small reassurance under the actions, e.g. "No card needed".
announcementstring—A short chip above the title, e.g. "New · NetSuite two-way sync".
proofReactNode—The product artefact that proves the claim.
proofTitlestring—The window title over the proof, e.g. "halden.app/close/october".
proofFramebooleantrueFrame the proof as a window on the dotted stage. Turn off for a proof that brings its own frame, such as `ShowcaseTabs`.
floatingReactNode—A small card over the stage's window bar, e.g. a result or a notification.
statsreadonly BlockStat[]—Large figures along the bottom.
logosreadonly string[]—Customer names under the hero.
logosLabelstring"Trusted by teams at"
headingLevel1 | 21
classNamestring—

Accessibility

It is built on native elements, so roles and focus come from the browser.

No custom key handling; Tab and the native activation keys do the work.

Motion

It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.

All Hero, FAQ & contact examples