shadcn.io is not affiliated with official shadcn/ui
FAQ Links Footer Block for React
An FAQ-links footer for a tax-prep app: five common questions as ruled link rows with a chevron and an All answers link, beside two link groups.
Installation
Overview
An FAQ-links footer for React with Base UI. A split behind a divider that runs from the page's top rule to the end of the page. The start half is "Common questions": five questions as ruled rows, each one a link to its answer with a chevron, then an "All 62 answers" link. The end half holds the wordmark and one sentence, two link groups in the nav labelled Footer and, at its foot, the copyright and the policies under a rule. They are links, not an accordion: the answers live on their own pages. It's built from Guides, plain links and your theme's tokens, and it is a static component with no state.
FAQ
Why are the questions links and not an accordion?
A footer is for finding things, not for reading long answers: each row goes to the answer's own page, where it can be linked, searched and kept up to date. The FAQ category has accordion blocks for answers on the page itself.
How do I change the questions?
Edit the QUESTIONS array at the top of the file: each entry has a label (the question) and an href. Keep them to about one line; a longer question wraps inside its row. The "62" in "All 62 answers" is example data: set it to your own count.
How is a whole row a link?
The row itself is the anchor, with the text at the start and a chevron at the end that mirrors in a right-to-left layout. Hovering or focusing tints the row, and the keyboard focus ring is drawn inside it so the rules around it are never covered.
Related
- Pro
Documentation Footer
Sitemaps and trailsA documentation footer for a router library's docs: previous and next page cells, an Edit this page link with a pencil, four link groups and a legal band.
- Pro
Breadcrumb Footer
Sitemaps and trailsA breadcrumb footer for a CI service's docs: a trail band ending on the current page, three link groups in hairline columns and a foot band with the wordmark and policies.
- Pro
Page Feedback Footer
PreferencesA footer that asks whether the page was helpful: a Yes and No toggle that opens a note form with validation, a status line that thanks the reader, and two link columns.
- Pro
Support Hub Footer
Company and placesA support-hub footer for a help-desk product: a question and a row of help links, then three support channels as cells, live chat with an online status, email with its reply time and phone with its hours, each one link.
- Pro
Blog Footer
Content and updatesA blog footer for a data-engineering blog: topic pills with post counts, the two latest posts and an RSS link on one side, two link groups on the other.
- Pro
Categorized FAQ
Topics and filtersA topic-tabbed FAQ for a bookkeeping app: a compact header, a band of line tabs with a count on each, and one accordion per topic.