# Components Accordion: Double Border Accordion

An accordion with a double line framing every item. The layered borders add clear structure for FAQs and specs where rows need firm definition.

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

## Install

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

## Depends on

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

## About this block

Double Border Accordion renders a vertical stack of collapsible items,
each enclosed by two concentric rounded borders. The outer border sits
flush with the item edge, and the inner border insets a few pixels to
create a layered frame effect. When an item is open, both borders
shift to a softer foreground tint with a smooth transition so the
active panel reads clearly against the closed ones. A chevron trigger
sits inside the padding layer, and the answer text appears below it
when the panel expands.

Each item is fully independent, so you can change the question and
answer text freely, add or remove items, and reorder them without
affecting the frame styling. Only one panel can be open at a time by
default, which keeps the layout compact.

## When to use

This block suits pages where row definition matters as much as the
content itself. In a fintech or banking product, the double border
signals structure and formality without heavy decoration, making it
a good fit for account FAQ pages, fee schedule breakdowns, or
compliance question lists where readers scan for exact terms. Compared
to a minimal line or card accordion, the layered frame adds visual
weight that anchors dense regulatory or policy copy without relying on
background fills.

A natural flow around it on a Components page:

**Before**

- A [Tabs](https://www.shadcn-ui-blocks.com/blocks/components/tabs) group to let users switch between
  topics before reading individual answers
- A short heading section to introduce the FAQ category

**After**

- An [Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts) component to surface a key
  warning or action after the reader works through the questions
- A [Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons) row with a primary call to
  action such as contacting support or opening an account

## What you can display

The frame works wherever firm row separation helps readers move through
a list with confidence. A few fits:

- **Fee and rate tables.** List each charge type as a question and
  spell out the full terms in the answer so customers always find
  the official figure.
- **Compliance and policy FAQs.** The defined borders reinforce that
  each answer is a discrete, authoritative statement rather than
  informal guidance.
- **Onboarding checklists.** Walk new users through setup questions
  in order, with each answer confirming what they need to do next.

> Tip: keep answers to two or three sentences so the double border
> frames a tidy block of text rather than a sprawling paragraph.

## 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)
- [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)
