Skip to content

OrAccordion

Basic

  • North

    North

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled

  • South

    South

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled

html
<or-accordion>
	<or-accordion-body title="Accordion 1">
		<p>1: Lorem ipsum dolor imat</p>
	</or-accordion-body>
	<or-accordion-body title="Accordion 2">
		<p>2: Lorem ipsum dolor imat</p>
	</or-accordion-body>
</or-accordion>
<or-accordion>
	<or-accordion-body title="Accordion 1">
		<p>1: Lorem ipsum dolor imat</p>
	</or-accordion-body>
	<or-accordion-body title="Accordion 2">
		<p>2: Lorem ipsum dolor imat</p>
	</or-accordion-body>
</or-accordion>

Custom

  • Accordion 1

    1: Lorem ipsum dolor imat

  • Accordion 2

    2: Lorem ipsum dolor imat

html
<or-accordion>
	<or-accordion-body>
		<template #title>
			<p class="flex items-center">
				<i class="ri-mail-fill"></i> Accordion 1
			</p>
		</template>
		<template #collapse="{isCollapsed}">
			<i class="ri-arrow-down-s-line" v-if="isCollapsed"></i>
			<i class="ri-arrow-up-s-line" v-else="isCollapsed"></i>
		</template>
		<p>1: Lorem ipsum dolor imat</p>
	</or-accordion-body>
	<or-accordion-body title="Accordion 2">
		<p>2: Lorem ipsum dolor imat</p>
	</or-accordion-body>
</or-accordion>
<or-accordion>
	<or-accordion-body>
		<template #title>
			<p class="flex items-center">
				<i class="ri-mail-fill"></i> Accordion 1
			</p>
		</template>
		<template #collapse="{isCollapsed}">
			<i class="ri-arrow-down-s-line" v-if="isCollapsed"></i>
			<i class="ri-arrow-up-s-line" v-else="isCollapsed"></i>
		</template>
		<p>1: Lorem ipsum dolor imat</p>
	</or-accordion-body>
	<or-accordion-body title="Accordion 2">
		<p>2: Lorem ipsum dolor imat</p>
	</or-accordion-body>
</or-accordion>

Props(or-accordion-body)

PropDefaultTypeDescription
title""stringTitle of accordion section
multiplefalsebooleanAllow multiple sections to be visible

D2B ___ Chidi Ikeoha