Editorial Split

Editorial split FAQ with sticky sidebar.

Main Features of Editorial Split

How to Use Editorial Split in Next.js

Installation Guide for Editorial Split

Props

Customize the component with these props

PropertyTypeDefaultDescription
faqs
Array<{q: string, a: string}>[]Array of FAQ items with question (q) and answer (a).
backgroundColor
string#ffffffBackground color (hex, rgb, or hsl).
sidebarBgColor
string#f5f5f5Sidebar background color.
sidebarTextColor
string#000000Sidebar text color.
title
stringFAQSection title text.
titleAccentColor
string#2563ebTitle accent color (dot color).
subtitle
stringEverything you need to know about the product and billing.Section subtitle text.
subtitleColor
string#737373Subtitle text color.
currentTopicLabel
stringCurrent TopicLabel text for current topic indicator.
currentTopicLabelColor
string#a3a3a3Current topic label color.
contentBgColor
string#ffffffContent area background color.
contentTextColor
string#000000Content text color.
borderColor
string#e5e5e5Border color for dividers.
badgeBgColor
string#000000Badge background color.
badgeTextColor
string#ffffffBadge text color.
questionColor
string#000000Question text color.
answerColor
string#737373Answer text color.
ctaBgColor
string#dbeafeCTA section background color.
ctaTextColor
string#000000CTA text color.
ctaButtonBgColor
string#000000CTA button background color.
ctaButtonTextColor
string#ffffffCTA button text color.
ctaTitle
stringStill have questions?CTA title text.
ctaSubtitle
stringCan't find the answer you're looking for?CTA subtitle text.
ctaButtonText
stringContact SupportCTA button text.

When to Use

Ideal for content-heavy sites, corporate landing pages, and Next.js applications that require a structured, informative layout. Use this React component for an editorial-style FAQ section with a sticky sidebar and integrated call-to-action.

Best Practices

Follow React best practices by pairing this with bold, professional typography. Maintain scalable component architecture by using the sticky sidebar for secondary navigation. Optimize for performance by ensuring the sidebar only sticks on desktop views.

Why This Component Matters in Modern UI Development

Editorial layouts provide a sense of hierarchy and authority. This production-ready component helpsคุณ build an interface that feels academic and reliable, improving the efficiency of information retrieval for your users.

Frequently Asked Questions

QIs the sidebar sticky?

Yes, the sidebar stays in view as the user scrolls through the FAQ content, ensuring the context is never lost.

QCan I add more categories?

The layout is designed for a single primary category, but can be easily extended to support multiple sections with a tabbed sidebar.

QDoes it support long answers?

The split layout provides ample horizontal space for detailed answers and supporting information without visual clutter.

Editorial Split - React FAQ & Accordion Component | Uilora