sigilUI

FAQ Section

Answer common questions in expandable sections.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { FAQSection } from "@sigil-ui/components";

Usage

<FAQSection items={[{ question: "What is Sigil?", answer: "A token-driven design system." }, { question: "How many presets?", answer: "44 curated presets." }]} />

Props

PropTypeDefaultDescription
labelstring—Readable label for the component.
titlestring—Heading displayed in the component.
descriptionstring—Supporting text below the heading.
items (required)FAQItem[]—Items to display, in their display order.
columns1 | 2—Columns configuration.

Token integration

CSS VariablePurpose
--s-section-pySection py
--s-content-maxContent max
--s-page-marginPage margin
--s-borderBorder
--s-textText
--s-text-mutedText muted
--s-duration-fastDuration fast