Staaarter

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.

By Staaarter Team
FAQ
Docs
Live preview

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.json

Prefer 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

PropTypeDefaultDescription
badgestring"FAQ"Small label shown above the heading.
headingstring"Browse by category"Section heading.
descriptionstring"Answers organized the way our customers actually ask them."Supporting copy under the heading.
columns{ title: string; items: { question: string; answer: string }[] }[]noneThe three (or more) kanban columns, each with a title and its own stack of Q&A cards.
classNamestringnoneExtra 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.