Block

FAQ.

An FAQ section: a heading, intro and contact card on the left and a numbered accordion on the right. It stacks into one column on phones.

Installation#

$npx lanterncn add faq

This copies the file into components/faq and installs every component it uses. With the shadcn CLI: npx shadcn@latest add httptim/lantern-ui/faq.

Usage#

Render it from any page.

import FAQ from "@/components/faq/faq";

export default function Page() {
  return <FAQ />;
}