DDBS UI
section

FAQ and Links Split

Two columns under dotted rules: expandable questions (several can be open) beside a list of arrow links such as latest posts, each column ending in an outline pill.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/faq-links-split.json
Dependencies:lucide-react
Fullscreen

Frequently asked questions

There is no limit on projects. You are limited only by concurrent usage on your plan.

Usage

faq-links-split-example.tsx
import { FaqLinksSplit } from "@dbs/ui";

export default function FaqLinksSplitExample() {
  return (
    <FaqLinksSplit
      faqHeading="Frequently asked questions"
      linksHeading="Latest posts"
      defaultOpen={[1]}
      faqs={[
        { q: "Can I use it inside my own app?", a: "Yes. Use the React package, a script tag or the REST API from any client or server." },
        { q: "How many projects can I create?", a: "There is no limit on projects. You are limited only by concurrent usage on your plan." },
        { q: "Which models can I connect?", a: "Any provider with an OpenAI compatible endpoint, or bring your own fine tuned model." },
        { q: "Can it call external services?", a: "Yes. Tools are described with JSON schemas and called over webhooks or the Model Context Protocol." },
      ]}
      links={[
        { title: "Introducing the new workspace" },
        { title: "How we made search 50% faster" },
        { title: "A field guide to webhooks" },
        { title: "Designing for slow connections" },
      ]}
      faqCta={{ label: "View all FAQs" }}
      linksCta={{ label: "View the blog" }}
    />
  );
}