Help Article Page React template for Tailwind CSS v4
v1.1.0Updated in 1.9.0
One support article: search, a topic sidebar, a Markdown body with steps and callouts, contents and helpful feedback.
The breadcrumb links back to the help center and the article's topic (on phones it becomes one back link). Press / anywhere to focus the search bar: matching articles from every topic drop down under it with the typed words marked, Arrow Down moves into them, the arrow keys, Home and End walk through them, Escape returns to the field and a press outside closes them. On desktop the sidebar sticks beside the article with every article of the topic (the current one marked) and the other topics; below 1024px it is a button that opens it as a bottom sheet, which closes when you pick a link. The article is rendered from Markdown: numbered steps, Note / Tip / Warning callouts, key caps that show the right modifier for the device, a table that scrolls sideways on phones and a code block with a copy button. From 1280px the table of contents sticks on the right and marks the section being read; below it becomes a pill pinned under the header that opens a sheet. Was this article helpful? thanks you on Yes; No opens a comment box (focused, Cmd/Ctrl+Enter sends, Skip closes it) that ends in a thank-you. The contact card opens an email or the chat, and each related article is one link with the focus ring on the card.
Help Article Page is a Pro React template in the React website templates category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add help-article-page, together with Help Center Page, Marketing Section, Marketing Header, Marketing Footer, Avatar and 14 more and the npm packages motion and lucide-react.
Built with
The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.
Add to a project
Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup
npx wingo-ui@latest add help-article-pageHelp Article Page is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans
Usage
Import HelpArticlePage from @/components/templates/help-article-page.
// app/(marketing)/help/[slug]/page.tsx
"use client"
import Link from "next/link"
import { notFound, useParams } from "next/navigation"
import { HelpArticlePage } from "@/components/templates/help-article-page"
import { HELP_ARTICLE_SAMPLE } from "@/components/templates/help-article-page-data"
export default function HelpArticleRoute() {
const { slug } = useParams<{ slug: string }>()
if (slug !== HELP_ARTICLE_SAMPLE.slug) notFound()
return (
<HelpArticlePage
linkComponent={Link}
article={HELP_ARTICLE_SAMPLE}
onFeedback={(helpful, comment) =>
fetch("/api/help-feedback", { method: "POST", body: JSON.stringify({ slug, helpful, comment }) })
}
/>
)
}Props
designdefault"classic""classic" | "minimal"The whole page's look. classic: a tinted search bar, tinted sidebar items, a gray feedback box, raised contact and related cards on a band; minimal: a transparent header, a flat search, a ruled sidebar, callouts as colored rules, outlined boxes, related articles as hairline rows with no band and a simple footer. headerProps and footerProps still win.
articledefault"HELP_ARTICLE_SAMPLE"HelpArticleThe article: HelpCenterArticle fields (slug, title, excerpt, category, minutes, updated) plus summary, body (Markdown), author and helpful ({ yes, total }). In the body, > [!NOTE] / [!TIP] / [!IMPORTANT] / [!WARNING] / [!CAUTION] quotes become callouts and `kbd:mod+k` inline code becomes a key cap.
articlesdefault"HELP_CENTER_ARTICLES"HelpCenterArticle[]The sidebar's topic list and what the search looks through; each links to /help/<slug>.
categoriesdefault"HELP_CENTER_CATEGORIES"HelpCenterCategory[]The topics: the breadcrumb, the sidebar and the result labels; each links to /help/<value>.
relatedArticlesdefault"HELP_ARTICLE_RELATED"HelpCenterArticle[]Up to three cards under the article.
labelsdefault"DEFAULT_HELP_ARTICLE_PAGE_LABELS"Partial<HelpArticlePageLabels>Every visible string: search, sidebar, meta, callout titles, feedback, contact and related copy.
headerPropsPartial<MarketingHeaderProps>Passed to MarketingHeader.
footerPropsPartial<MarketingFooterProps>Passed to MarketingFooter.
defaultQuerydefault""stringThe search text on load, with the results open. The playground offers a few real searches and one with no results.
querystringControlled search text; pair it with onQueryChange.
onQueryChange(query: string) => voidFires on every keystroke and clear.
onSearch(query: string) => voidRuns once typing pauses and on Enter; with "" on clear. Use it for analytics or a server search.
searchShortcutdefault"/"stringFocuses the search from anywhere; "" binds nothing.
showSearchdefaulttruebooleanThe search bar beside the breadcrumb.
showSidebardefaulttruebooleanThe topic sidebar (a sheet below 1024px).
showTocdefaulttruebooleanThe table of contents: sticky on the right from 1280px, a pill and a sheet below.
showMetadefaulttruebooleanThe author, last updated date and reading time under the title.
showFeedbackdefaulttruebooleanThe "Was this article helpful?" box.
showContactdefaulttruebooleanThe contact support card after the article.
showRelateddefaulttruebooleanThe related articles section.
headerdefaulttruebooleanThe sticky marketing header; turn it off when the page sits in a site layout.
footerdefaulttruebooleanThe marketing footer.
tocVariantdefault"line""line" | "dots" | "plain"The table of contents' look: a rail with a moving indicator, dots or plain links.
backgrounddefault"glow""plain" | "soft" | "glow" | "aurora" | "grid" | "dots"The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one (classic glow, minimal plain).
backgroundColordefault"oklch(0.62 0.14 275)"stringThe tint and glow color of the main background.
bandBackgrounddefault"muted""muted" | "tinted" | "gradient" | "dots"The secondary background of the bands. Cards, fields and tiles inside a band are lifted one step above it, so they never share its color.
bandColordefault"oklch(0.62 0.14 275)"stringThe tint of tinted and gradient bands; defaults to backgroundColor.
tonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"Links in the article and the active contents entry.
ctaTonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"The solid buttons: Chat with us, Send feedback and the header's Get started.
animateIndefaulttruebooleanThe title rises in once on mount; off in thumbnails and under reduced motion.
localedefault"en-US"stringIntl locale for the last updated date.
helpHrefdefault"/help"stringThe help center root: the breadcrumb, Back to the help center, /help/<topic> and /help/<slug>.
chatHrefdefault"/contact?topic=chat"stringWhere Chat with us goes.
supportEmaildefault"support@acme.com"stringEmail support opens a message to it, with the article title as the subject.
onFeedback(helpful: boolean, comment?: string) => (void | Promise<unknown>)Was this article helpful?; called on Yes, on No and again with the comment. A returned promise keeps the button loading; without it the page waits 600 ms.
markdownPropsPartial<MarkdownProps>Passed to the article's Markdown (components, rehypePlugins, codeLineNumbers...).
linkComponentdefault"<a>"(props: LinkComponentProps) => ReactNodeThe router link for every link (next/link in an app); default the LinkProvider's.
classNamestringClasses for the root.
classNamesPartial<Record<HelpArticlePageSlot, string>>Classes for hero, breadcrumb, search, results, sidebar, sidebarTrigger, title, meta, toc, body, feedback, contact and related.
Parts
helpArticleToc
functionhelpArticleToc(source) returns the h2 and h3 of a Markdown string as TocItem[], with the ids Markdown's headingIds gives them.
HELP_ARTICLE_SAMPLE
constantThe sample article: "Set up recurring tasks" in Boards and planning, by Ava Thompson.
HELP_ARTICLE_RELATED
constantThree related articles from HELP_CENTER_ARTICLES.
DEFAULT_HELP_ARTICLE_PAGE_LABELS
constantThe English strings.
HELP_ARTICLE_PAGE_DESIGNS
constantThe design names, classic first: ["classic", "minimal"].
HelpArticle
typeHelpCenterArticle & { summary?, body, author?, helpful? }.
HelpArticleAuthor
type{ name, role, avatar? }.
HelpArticleCallout
type"note" | "tip" | "important" | "warning" | "caution".
HelpArticlePageLabels
typeEvery UI string of the page (search, breadcrumb, feedback, table of contents), so you can translate or reword it.
HelpArticlePageProps
typeProps of HelpArticlePage.
HelpArticlePageDesign
type"classic" | "minimal".
Examples
Minimal design
design="minimal": a transparent header, a flat search, a ruled sidebar, outlined boxes and related articles as hairline rows.
Searching
A query typed into the search bar: matching articles from every topic, the words marked, arrow keys to move.
Brand tone
The marketing orange on links, the active contents entry and the Chat with us button.
Inside a docs layout
Header, footer, sidebar and related articles off: just the search bar, the article and the feedback box.
Dependencies
Files
- components/templates/help-article-page.tsx
- components/templates/help-article-page-data.ts
FAQ
Is the React Help Article Page template free?
The preview, props and docs are free; copying the source needs a Pro plan. See plans.
How do I install Help Article Page?
Run npx wingo-ui@latest add help-article-page. It also adds the Wingo UI items it builds on (Help Center Page, Marketing Section, Marketing Header, Marketing Footer, Avatar and 14 more) and the npm packages motion and lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/help-article-page.
How does Help Article Page behave on phones?
The breadcrumb links back to the help center and the article's topic (on phones it becomes one back link).
See also
Related guides
- Help Center Template for React: Search, Topics, Articles
Build it: screens and apps9 min read
New components by email
New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.