# Components Accordion: Nested Border Accordion

An accordion supporting nested items inside bordered panels. Use it for layered FAQs, docs, and settings where topics branch into subtopics.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/accordions/nested-border-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/nested-border-accordion.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-accordions-nested-border-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-nested-border-accordion.json"`.

## Depends on

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

## About this block

Nested Border Accordion is a stacked list of collapsible panels, each
wrapped in a double border frame. The outer ring is a full rounded border
and a second, inset ring sits just inside it at a slightly reduced opacity.
When a panel is closed both rings sit at the default border color. When a
panel opens, both rings shift to a more prominent foreground tint and a
horizontal rule appears between the trigger row and the answer text below
it. Panels are spaced apart so each one reads as its own contained unit
rather than a continuous list.

Each panel is independent. The question text, the answer text, and the
number of panels are all yours to change. Because each item is a self
contained block, you can add or remove panels without any ripple to the
surrounding layout. The single open at a time behavior is set by the
collapsible accordion mode, but that too can be adjusted if you need
multiple panels open simultaneously.

## When to use

Reach for this block when your FAQ or help content has clear, bounded
categories that benefit from visual separation. The double border frame
gives each panel a quiet sense of structure, which suits a logistics or
delivery platform where customers need to scan shipping policies, customs
requirements, and return conditions without the sections bleeding into one
another. It fits a support page, a carrier FAQ, or a booking help center
where the bordered frames signal that each question stands on its own.

A natural flow around it on a Components page:

**Before**

- A [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) section to introduce the topic or
  service area before the detailed questions begin
- A [Tabs](https://www.shadcn-ui-blocks.com/blocks/components/tabs) block to let readers filter between
  question categories before diving in

**After**

- A [Collapsible](https://www.shadcn-ui-blocks.com/blocks/components/collapsible) block for a single
  expandable detail that does not need the full accordion treatment
- A plain call to action or contact prompt for readers who still need help

## What you can customize

Each panel is a self contained unit with a question trigger and an answer
body. Three things you are most likely to swap:

- **Question and answer copy.** Replace the placeholder text with your
  actual FAQ content; each panel reads independently so you can reword
  any item without touching the others.
- **Panel count.** Add or remove accordion items to match the number of
  questions in a given section, from two items up to as many as the topic
  warrants.
- **Open behavior.** The block defaults to one open panel at a time, which
  keeps the list compact; switch the accordion type to allow multiple open
  panels if your content benefits from side by side comparison.

> Tip: keep answer text to two or three sentences per panel so the double
> border frame stays proportionate and the list remains easy to scan.

## More in Components Accordions

- [Border Fade Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/border-fade-accordion)
- [Card Accordion](https://www.shadcn-ui-blocks.com/blocks/components/accordions/card-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)
- [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)
