Skip to content
caliper ui docs

Blocks

Feature tabs block

A short feature tour: features beside one stage, with a thin rule that fills and moves on. It waits while hovered, focused or off screen; choosing a feature or Pause stops it.

Pro
pnpm dlx shadcn@latest add @caliper/feature-tabs-block

How Halden closes the month

Every account reconciled before lunch

Bank feeds, rules and approvals in one place, so the close is a review rather than a rebuild.

halden.app/reconcile
Mercury ••44102,184 matched$412,880.12
Stripe payouts96 matched$88,214.50
Amex ••100241 to review$9,120.07
Wise EUR318 matched€61,402.88
Brex ••7731212 matched$23,915.40
Installs components/ui/feature-tabs-block.tsxDepends on lucide-reactMotion honours reduced motion

When to use

Use it for

  • The middle of a landing page with three to five features that each have a screen.
  • Replacing a carousel that hides content behind arrows.

Skip it when

  • Features without a picture of their own; use the feature rows.
  • More than five features; the tour gets long.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/feature-tabs-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 { FeatureTabsBlock } from "@/components/ui/feature-tabs-block"

The worked example comes with Pro

The 81-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

FeatureTabsBlock

component
PropTypeDefaultDescription
eyebrowstring—
title *string—
leadstring—
features *readonly FeatureTab[]—
intervalnumber6000Milliseconds per feature while the tour plays.
classNamestring—

Accessibility

It exposes tablist, tab and tabpanel semantics, with aria-orientation, aria-label, aria-selected, aria-controls, aria-hidden and aria-pressed kept in step with state.

KeyBehaviour
↓Moves to the next item or value.
→Moves to the next item or value.
↑Moves to the previous item or value.
←Moves to the previous item or value.
HomeJumps to the first item or the minimum.
EndJumps to the last item or the maximum.

Motion

It checks prefers-reduced-motion itself and settles immediately instead of travelling. Every state is still reachable.

All Hero, FAQ & contact examples