Searchable questions by topic, with feedback on answers and a ticket form when they fall short.
Import it and pass your content. The props that matter most are listed next.
import { Faq } from "@/components/ui/notchset/blocks/faq";
export function Help() {
return (
<Faq
categories={["SETUP", "BILLING"]}
items={[
{ q: "How do I connect my repo?", a: "Install the CLI, log in and link the repo.", category: "SETUP", code: "$ relay link acme/relay" },
{ q: "Can I change plans mid-cycle?", a: "Yes. Upgrades apply at once and are prorated.", category: "BILLING" },
]}
onSubmitTicket={async ({ email, question }) => {
const r = await fetch("/api/support", { method: "POST", body: JSON.stringify({ email, question }) });
if (!r.ok) throw new Error("ticket failed");
return r.json();
}}
/>
);
}categories–
string[]The topics, in order; ALL is added in front.
items–
{ q, a, category, code?, keywords? }[]The questions. A string answer is searched and highlighted; a node answer is searched by its keywords.
onSubmitTicket–
({ email, question, search }) => Promise<{ id }>Adds Still stuck?. Resolve with the ticket id to show it; reject to show the failure line.
onFeedback–
(item, helpful) => voidCalled with the YES or NO under an answer.
title–
stringThe heading (also the section's name). Defaults to Questions, answered.
Faqdata-slot="faq"
Topics, search, the questions and Still stuck?.
components/ui/notchset/blocks/faq.tsx
pnpm dlx shadcn@latest add https://beautiful-ui.dev/r/faq.jsonpnpm dlx shadcn@latest add https://beautiful-ui.dev/r/radix-nova/faq.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @beautiful-ui registry added, @beautiful-ui/<name> picks for you.
pnpm add class-variance-authority@^0.7The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release