Kanban Columns
Three vertical columns laid out side by side on desktop, each headed with an icon and a category name (for example Getting Started, Billing, Security), and each holding a stack of small FAQ cards underneath. Useful for organizing a larger FAQ set into a few clear buckets, kanban-board style. All cards are always expanded.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/kanban-columns.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/faq/faq31.tsx instead.
Usage
The file also exports faq31Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Faq31, faq31Demo } from "@/components/blocks/faq/faq31"; export default function Page() { return <Faq31 {...faq31Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| badge | string | "FAQ" | Small label shown above the heading. |
| heading | string | "Browse by category" | Section heading. |
| description | string | "Answers organized the way our customers actually ask them." | Supporting copy under the heading. |
| columns | { title: string; items: { question: string; answer: string }[] }[] | none | The three (or more) kanban columns, each with a title and its own stack of Q&A cards. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- Fully static: the column header icons are a fixed, hardcoded array (Rocket, CreditCard, ShieldCheck) indexed by column position, not passed in as props, since a component-reference prop can't cross into a client boundary in this codebase and this block has no client behavior to begin with anyway.
- There is no drag-and-drop between columns despite the kanban visual metaphor, the layout is purely organizational, and every card's answer is always visible.
More FAQ Blocks
View all →collapsible-accordion
Collapsible Accordion
Stacked cards with expandable sections, for full-length answers in a compact format.
open-list-layout
Open List Layout
Questions with answers displayed directly below in a simple always-open list.
three-column-grid
Three Column Grid
Q&A pairs arranged in a responsive grid layout, always open.
tabbed-categories
Tabbed Categories
Sidebar navigation with category tabs and an accordion of that category's questions.
searchable-accordion
Searchable Accordion
Search input that filters accordion items in real-time by question and answer text.
grouped-sections
Grouped Sections
FAQs organized into titled sections, each with its own independent accordion below it.