# Components Accordion: Dash Line Accordion

An accordion divided by dashed lines between items. The light dashed rhythm keeps long FAQ lists readable while staying subtle and unobtrusive.

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

## Install

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

## Depends on

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

## About this block

Dash Line Accordion is a single-column accordion list centered in a
constrained container. Each item has a question as its trigger row and
a short answer that expands below it. The divider between items is a
dashed horizontal line rather than a solid border. When an item is
closed the dashes sit at half opacity; opening an item brings the
dashes to full opacity, giving a quiet signal that this row is active.
Only one panel can be open at a time.

All three items are independent, so you can rewrite the questions and
answers, add or remove items, or adjust the container width without
affecting the rest of the layout.

## When to use

This layout suits any FAQ section where you want clear row separation
but a lighter touch than a solid border. On an ecommerce storefront it
works well for product detail pages, shipping and returns sections, or
checkout help, where the dashed rhythm keeps a long list readable
without competing with product imagery or pricing. It is a better fit
than a card accordion when you want the content to breathe, and
quieter than a glow or shadow variant when the surrounding page is
already visually busy.

A natural flow around it on a Components page:

**Before**

- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) to present product or category
  highlights before readers reach common questions
- A short introductory heading block to set context for the FAQ section

**After**

- [Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons) for a call to action once
  readers have found what they needed
- [Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts) to surface promotions or return
  policy notices below the FAQ

## What you can display

Any set of short questions and their answers fits this frame. A few
ways to put it to work on a storefront:

- **Shipping and returns.** Answer the questions shoppers ask before
  checkout so they feel confident placing an order.
- **Product care instructions.** List material, washing, and storage
  details without cluttering the main product description.
- **Size and fit guidance.** Expand measurement tips and brand sizing
  notes only for shoppers who need them, keeping the page tidy for
  everyone else.

> Tip: keep answers to two or three sentences so the dashed rhythm
> stays consistent and no single open panel dominates the page.

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