# Components Accordion: Card Accordion

An accordion built from separated cards, each panel raised on its own surface. Good for FAQs or feature details that need clear visual separation.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/accordions/card-accordion
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Accordions](https://www.shadcn-ui-blocks.com/blocks/components/accordions)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/accordions/card-accordion.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-accordions-card-accordion
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/components-accordions-card-accordion.json"`.

## Depends on

- npm packages: lucide-react, radix-ui
- shadcn/ui components: accordion
- Installs to: `@/components/blocks/components/accordions/card-accordion`

## About this block

Card Accordion presents a vertical stack of accordion items where each
panel lives inside its own rounded, bordered card. Every card carries a
lightly tinted header that deepens when the panel is open, a thin divider
between the header and the answer, and a subtle shadow that lifts slightly
on the active item. Only one panel can be open at a time, so the list
stays focused and uncluttered.

The three demo items cover accessibility, styling, and animation, but the
count, questions, and answers are all yours to change. Cards can be added
or removed freely, and the single collapsible mode can be switched to
allow multiple panels open simultaneously if your content calls for it.

## When to use

This layout suits any FAQ section where the questions need clear visual
separation rather than a plain divider line. On a product analytics SaaS
site it works well for a pricing page FAQ, a feature comparison section,
or an onboarding help panel where each answer stands alone and a user
scanning for one specific question should be able to find it at a glance.
The card framing gives each item more visual weight than a flat list,
making it a better fit than the
[Minimal Line Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/minimal-line-accordion)
when the page already has a dense layout and the FAQ needs to hold its own.

A natural flow around it on a Components page:

**Before**

- A [Tabs](https://www.shadcn-ui-blocks.com/blocks/components/tabs) block to segment content categories
  before drilling into detail with the accordion
- A short introductory heading or paragraph to frame what the FAQ covers

**After**

- A [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) group block to surface related
  feature highlights once the questions are answered
- A [Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons) block with a primary call to
  action to move readers forward after browsing the FAQ

## What you can display

Replace the demo questions and answers with any content that benefits from
progressive disclosure. A few directions that fit the card format well:

- **Feature FAQs.** List the questions your trial users ask most often,
  one card per question, so prospects can self serve before contacting
  support.
- **Plan and pricing details.** Explain what each tier includes or
  excludes in plain language, keeping the answers short enough that a
  single card never feels overwhelming.
- **Integration guides.** Summarize how your product connects to each
  third party tool, one card per integration, so readers jump straight to
  the one they need.

> Tip: keep each answer to two or three sentences so the shadow lift on
> open feels like a reveal rather than a wall of text.

## More in Components Accordions

- [Border Fade Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/border-fade-accordion)
- [Dash Line Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/dash-line-accordion)
- [Dotted Border Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/dotted-border-accordion)
- [Double Border Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/double-border-accordion)
- [Fade In Content Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/fade-in-content-accordion)
- [Floating Label Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/floating-label-accordion)
- [Glow Border Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/glow-border-accordion)
- [Highlight Active Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/highlight-active-accordion)
- [Minimal Line Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/minimal-line-accordion)
- [Nested Border Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/nested-border-accordion)
- [Numbered Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/numbered-accordion)
- [Shadow Reveal Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/shadow-reveal-accordion)
- [Stepped Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/stepped-accordion)
- [Thick Side Border Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/thick-side-border-accordion)
- [Underline Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/underline-accordion)
