Accordion

Introduction to using the Accordion component

Accordion 介紹示意圖

Accordion is usually translated into Chinese as the "accordion" effect. On screen it looks like the motion of playing an accordion, where the hands pull apart and then come together. Accordions are often used on pages like FAQs where the content is too rich, so titles are used first to attract users to click to expand and read, avoiding pages that are too long which can cause users to lose patience and make it hard to jump through the content.

Another common term is Collapse.

Basic usage

Default opened content

Custom title

Attributes

Name
Value
Type
Default
Required
Note

id

String

random

title

{ text } or template

String

open

Boolean

false

Expand bpa-accordion-item

Demo

Last updated

Was this helpful?