Skip to content
caliper ui pro docs

FAQ editions

Three FAQ sections, one for each way people look for an answer: by typing a word, by browsing a topic, or by following a link someone sent them.

Pro
Edition

Pellam help

Ask it in your own words.

Type a word or two. Matching answers open with the match marked.

  • Yes, within 30 days of any payment, for any reason. Ask from settings or by email and the refund reaches your card in five to ten working days. Refund policy

Not what you were after? Send us the question

When to use

  • The questions section of a pricing, product or help page.
  • Ten or more questions, where a single list would make people read everything.
  • Answers that support staff paste into replies and need a stable address.

When not to use

  • Four or five questions; use `faq-block`.
  • Documentation that needs headings and code; write a docs page.
  • Hiding terms people must agree to inside an answer.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/faq-editions

Adds its 9 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.

API reference

SearchFaq

10 props
PropTypeDefaultDescription
eyebrowstring—
title *ReactNode—
leadstring—
headingLevel1 | 22
classNamestring—
items *readonly EditionFaq[]—
suggestionsreadonly string[][]A few searches to offer before anything is typed, e.g. ["refund", "invoice"].
ask{ label: string; href: string; }—Where unanswered questions go, e.g. { label: "Ask the team", href: "mailto:help@example.com" }.
placeholderstring"Search the answers"
shortcutbooleantruePress / anywhere on the page to focus the field. Turn off when the site search already owns that key.

TopicFaq

7 props
PropTypeDefault
eyebrowstring—
title *ReactNode—
leadstring—
headingLevel1 | 22
classNamestring—
items *readonly EditionFaq[]—
ask{ label: string; href: string; }—

SupportFaq

7 props
PropTypeDefault
eyebrowstring—
title *ReactNode—
leadstring—
headingLevel1 | 22
classNamestring—
items *readonly EditionFaq[]—
support *{ title: string; body: string; channels: readonly SupportChannel[]; response?: string | undefined; action?: BlockAction | undefined; }—

faqSlug

0 props

No props of its own; it accepts the native props of its root element.

splitMatches

0 props

No props of its own; it accepts the native props of its root element.

Keyboard

Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It exposes search and status semantics, with aria-expanded, aria-controls, aria-hidden, aria-label, aria-describedby and aria-live kept in step with state. Changes that matter are announced through a live region.

Motion

  • State changes animate with the library's shared durations and curves, so its timing matches every other part.
  • Under reduced motion each change lands on its end state without movement; nothing is hidden or skipped.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/faq-editions.md

The index of every part is at /llms.txt.

More in Hero, FAQ & contact