Accordion은 제목 목록을 먼저 보여 주고, 사용자가 누른 항목의 내용만 펼쳐 보여 주는 접이식 목록입니다. 주로 FAQ나 설정 그룹처럼 한 화면에 모두 펼치기에는 긴 내용을 정리할 때 사용됩니다. 필요한 항목만 열어 보게 하여 화면을 간결하게 유지하고, 사용자가 원하는 정보를 빠르게 찾도록 돕습니다.
<script setup>import { AAccordion } from '@mobigen/rnd-design-system'const items = [ { title: 'Is it accessible?', content: 'Yes. It adheres to the WAI-ARIA design pattern.' }, { title: 'Is it styled?', content: 'Yes. It comes with default styles.' }]</script><template> <AAccordion :items="items" /></template>