Basic Collapse
The Collapse component allows the user to show and hide sections of related content on a page. Check out code for detail of usage.
Collapse Item 1
Collapse Item 2
<div id="collapse_exapmple_1" class="flex flex-col">
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between py-4 text-base font-medium text-slate-700 dark:text-navy-100"
>
<p>Collapse Item 1</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between py-4 text-base font-medium text-slate-700 dark:text-navy-100"
>
<p>Collapse Item 2</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between py-4 text-base font-medium text-slate-700 dark:text-navy-100"
>
<p>Collapse Item 3</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Javascript -->
<script>
new Accordion(document.querySelector("#collapse_exapmple_1"), {
onlyChildNodes: false,
duration: 200,
showMultiple: true,
});
</script>
Border Bottom
The collapse component allows the user to show and hide sections of related content on a page. Check out code for detail of usage.
Collapse Item 1
Collapse Item 2
<div
id="collapse_exapmple_2"
class="mt-5 flex flex-col divide-y divide-slate-150 dark:divide-navy-500"
>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between py-4 text-base font-medium text-slate-700 dark:text-navy-100"
>
<p>Collapse Item 1</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="pb-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between py-4 text-base font-medium text-slate-700 dark:text-navy-100"
>
<p>Collapse Item 2</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="pb-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between py-4 text-base font-medium text-slate-700 dark:text-navy-100"
>
<p>Collapse Item 3</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="pb-4">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Javascript -->
<script>
new Accordion(document.querySelector("#collapse_exapmple_2"), {
onlyChildNodes: false,
duration: 200,
showMultiple: true,
});
</script>
Full Bordered
The collapse component allows the user to show and hide sections of related content on a page. Check out code for detail of usage.
Collapse Item 1
Collapse Item 2
<div
id="collapse_exapmple_3"
class="flex flex-col divide-y divide-slate-150 rounded-lg border border-slate-150 dark:divide-navy-500 dark:border-navy-500"
>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between px-4 py-4 text-base font-medium text-slate-700 dark:text-navy-100 sm:px-5"
>
<p>Collapse Item 1</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 pb-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between px-4 py-4 text-base font-medium text-slate-700 dark:text-navy-100 sm:px-5"
>
<p>Collapse Item 2</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 pb-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between px-4 py-4 text-base font-medium text-slate-700 dark:text-navy-100 sm:px-5"
>
<p>Collapse Item 3</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 pb-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Javascript-->
<script>
new Accordion(document.querySelector("#collapse_exapmple_3"), {
onlyChildNodes: false,
duration: 200,
showMultiple: true,
});
</script>
Divided Items
The collapse component allows the user to show and hide sections of related content on a page. Check out code for detail of usage.
Collapse Item 1
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi earum magni officiis possimus repellendus. Accusantium adipisci aliquid praesentium quaerat voluptate.
Collapse Item 2
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi earum magni officiis possimus repellendus. Accusantium adipisci aliquid praesentium quaerat voluptate.
Collapse Item 3
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi earum magni officiis possimus repellendus. Accusantium adipisci aliquid praesentium quaerat voluptate.
<div
id="collapse_exapmple_4"
class="mt-5 flex flex-col space-y-4 rounded-lg sm:space-y-5 lg:space-y-6"
>
<div
class="ac rounded-lg border border-slate-150 dark:border-navy-500 [&.is-active_.ac-icon]:-rotate-180"
>
<div
class="ac-trigger flex cursor-pointer items-center justify-between px-4 py-4 text-base font-medium text-slate-700 dark:text-navy-100 sm:px-5"
>
<p>Collapse Item 1</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 pb-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="mt-4 flex justify-between">
<div class="flex flex-wrap -space-x-2">
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-16.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<div
class="is-initial rounded-full bg-info text-xs+ uppercase text-white ring ring-white dark:ring-navy-700"
>
jd
</div>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-20.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-8.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-5.jpg"
alt="avatar"
/>
</div>
</div>
<button
class="btn size-7 rounded-full bg-slate-150 p-0 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 dark:bg-navy-500 dark:text-navy-50 dark:hover:bg-navy-450 dark:focus:bg-navy-450 dark:active:bg-navy-450/90"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="size-5 rotate-45"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 11l5-5m0 0l5 5m-5-5v12"
/>
</svg>
</button>
</div>
</div>
</div>
</div>
<div
class="ac rounded-lg border border-slate-150 dark:border-navy-500 [&.is-active_.ac-icon]:-rotate-180"
>
<div
class="ac-trigger flex cursor-pointer items-center justify-between px-4 py-4 text-base font-medium text-slate-700 dark:text-navy-100 sm:px-5"
>
<p>Collapse Item 2</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 pb-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="mt-4 flex justify-between">
<div class="flex flex-wrap -space-x-2">
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-16.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<div
class="is-initial rounded-full bg-info text-xs+ uppercase text-white ring ring-white dark:ring-navy-700"
>
jd
</div>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-20.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-8.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-5.jpg"
alt="avatar"
/>
</div>
</div>
<button
class="btn size-7 rounded-full bg-slate-150 p-0 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 dark:bg-navy-500 dark:text-navy-50 dark:hover:bg-navy-450 dark:focus:bg-navy-450 dark:active:bg-navy-450/90"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="size-5 rotate-45"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 11l5-5m0 0l5 5m-5-5v12"
/>
</svg>
</button>
</div>
</div>
</div>
</div>
<div
class="ac rounded-lg border border-slate-150 dark:border-navy-500 [&.is-active_.ac-icon]:-rotate-180"
>
<div
class="ac-trigger flex cursor-pointer items-center justify-between px-4 py-4 text-base font-medium text-slate-700 dark:text-navy-100 sm:px-5"
>
<p>Collapse Item 3</p>
<div
class="ac-icon text-sm font-normal leading-none text-slate-400 transition-transform duration-300 dark:text-navy-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 pb-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="mt-4 flex justify-between">
<div class="flex flex-wrap -space-x-2">
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-16.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<div
class="is-initial rounded-full bg-info text-xs+ uppercase text-white ring ring-white dark:ring-navy-700"
>
jd
</div>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-20.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-8.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-5.jpg"
alt="avatar"
/>
</div>
</div>
<button
class="btn size-7 rounded-full bg-slate-150 p-0 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 dark:bg-navy-500 dark:text-navy-50 dark:hover:bg-navy-450 dark:focus:bg-navy-450 dark:active:bg-navy-450/90"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="size-5 rotate-45"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 11l5-5m0 0l5 5m-5-5v12"
/>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Javascript -->
<script>
new Accordion(document.querySelector("#collapse_exapmple_4"), {
onlyChildNodes: false,
duration: 200,
showMultiple: true,
});
</script>
Primary Collapse
The collapse component allows the user to show and hide sections of related content on a page. Check out code for detail of usage.
Collapse Item 1
Collapse Item 2
<div
id="collapse_exapmple_5"
class="mt-5 flex flex-col divide-y divide-indigo-400 overflow-hidden rounded-lg border border-primary dark:border-accent"
>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between bg-primary px-4 py-4 text-base font-medium text-white dark:bg-accent sm:px-5"
>
<p>Collapse Item 1</p>
<div
class="ac-icon text-sm font-normal leading-none text-indigo-100 transition-transform duration-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 py-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between bg-primary px-4 py-4 text-base font-medium text-white dark:bg-accent sm:px-5"
>
<p>Collapse Item 2</p>
<div
class="ac-icon text-sm font-normal leading-none text-indigo-100 transition-transform duration-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 py-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
<div class="ac [&.is-active_.ac-icon]:-rotate-180">
<div
class="ac-trigger flex cursor-pointer items-center justify-between bg-primary px-4 py-4 text-base font-medium text-white dark:bg-accent sm:px-5"
>
<p>Collapse Item 3</p>
<div
class="ac-icon text-sm font-normal leading-none text-indigo-100 transition-transform duration-300"
>
<i class="fas fa-chevron-down"></i>
</div>
</div>
<div class="ac-panel">
<div class="px-4 py-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="flex space-x-2 pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Javascript -->
<script>
new Accordion(document.querySelector("#collapse_exapmple_5"), {
onlyChildNodes: false,
duration: 200,
openOnInit: [0],
showMultiple: true,
});
</script>
Advanced Collapse
The collapse component allows the user to show and hide sections of related content on a page. Check out code for detail of usage.
Simon Tods
Web Developer
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi earum magni officiis possimus repellendus. Accusantium adipisci aliquid praesentium quaerat voluptate.
Konnor Guzman
Frontend Developer
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi earum magni officiis possimus repellendus. Accusantium adipisci aliquid praesentium quaerat voluptate.
Derrick Simmons
UI/UX Designer
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi earum magni officiis possimus repellendus. Accusantium adipisci aliquid praesentium quaerat voluptate.
<div
id="collapse_exapmple_6"
class="flex flex-col space-y-4 sm:space-y-5 lg:space-y-6"
>
<div
class="ac overflow-hidden rounded-lg border border-slate-150 dark:border-navy-500 [&.is-active_.ac-icon]:-rotate-180"
>
<div
class="flex items-center justify-between bg-slate-150 px-4 py-4 dark:bg-navy-500 sm:px-5"
>
<div
class="flex items-center space-x-3.5 tracking-wide outline-none transition-all"
>
<div class="avatar size-10">
<img
class="rounded-full"
src="images/avatar/avatar-10.jpg"
alt="avatar"
/>
</div>
<div>
<p class="text-slate-700 line-clamp-1 dark:text-navy-100">
Simon Tods
</p>
<p class="text-xs text-slate-500 dark:text-navy-300">
Web Developer
</p>
</div>
</div>
<button
class="ac-trigger btn -mr-1.5 size-8 rounded-full p-0 hover:bg-slate-300/20 focus:bg-slate-300/20 active:bg-slate-300/25 dark:hover:bg-navy-300/20 dark:focus:bg-navy-300/20 dark:active:bg-navy-300/25"
>
<i
class="ac-icon fas fa-chevron-down text-sm transition-transform"
></i>
</button>
</div>
<div class="ac-panel">
<div class="px-4 py-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="mt-4 flex justify-between">
<div class="flex flex-wrap -space-x-2">
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-16.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<div
class="is-initial rounded-full bg-info text-xs+ uppercase text-white ring ring-white dark:ring-navy-700"
>
jd
</div>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-20.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-8.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-5.jpg"
alt="avatar"
/>
</div>
</div>
<button
class="btn size-7 rounded-full bg-slate-150 p-0 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 dark:bg-navy-500 dark:text-navy-50 dark:hover:bg-navy-450 dark:focus:bg-navy-450 dark:active:bg-navy-450/90"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="size-5 rotate-45"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 11l5-5m0 0l5 5m-5-5v12"
/>
</svg>
</button>
</div>
</div>
</div>
</div>
<div
class="ac overflow-hidden rounded-lg border border-slate-150 dark:border-navy-500 [&.is-active_.ac-icon]:-rotate-180"
>
<div
class="flex items-center justify-between bg-slate-150 px-4 py-4 dark:bg-navy-500 sm:px-5"
>
<div
class="flex items-center space-x-3.5 tracking-wide outline-none transition-all"
>
<div class="avatar size-10">
<div
class="is-initial rounded-full bg-warning uppercase text-white"
>
KG
</div>
</div>
<div>
<p class="text-slate-700 line-clamp-1 dark:text-navy-100">
Konnor Guzman
</p>
<p class="text-xs text-slate-500 dark:text-navy-300">
Frontend Developer
</p>
</div>
</div>
<button
class="ac-trigger btn -mr-1.5 size-8 rounded-full p-0 hover:bg-slate-300/20 focus:bg-slate-300/20 active:bg-slate-300/25 dark:hover:bg-navy-300/20 dark:focus:bg-navy-300/20 dark:active:bg-navy-300/25"
>
<i
class="ac-icon fas fa-chevron-down text-sm transition-transform"
></i>
</button>
</div>
<div class="ac-panel">
<div class="px-4 py-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="mt-4 flex justify-between">
<div class="flex flex-wrap -space-x-2">
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-16.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<div
class="is-initial rounded-full bg-info text-xs+ uppercase text-white ring ring-white dark:ring-navy-700"
>
jd
</div>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-20.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-8.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-5.jpg"
alt="avatar"
/>
</div>
</div>
<button
class="btn size-7 rounded-full bg-slate-150 p-0 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 dark:bg-navy-500 dark:text-navy-50 dark:hover:bg-navy-450 dark:focus:bg-navy-450 dark:active:bg-navy-450/90"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="size-5 rotate-45"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 11l5-5m0 0l5 5m-5-5v12"
/>
</svg>
</button>
</div>
</div>
</div>
</div>
<div
class="ac overflow-hidden rounded-lg border border-slate-150 dark:border-navy-500 [&.is-active_.ac-icon]:-rotate-180"
>
<div
class="flex items-center justify-between bg-slate-150 px-4 py-4 dark:bg-navy-500 sm:px-5"
>
<div
class="flex items-center space-x-3.5 tracking-wide outline-none transition-all"
>
<div class="avatar size-10">
<img
class="rounded-full"
src="images/avatar/avatar-19.jpg"
alt="avatar"
/>
</div>
<div>
<p class="text-slate-700 line-clamp-1 dark:text-navy-100">
Derrick Simmons
</p>
<p class="text-xs text-slate-500 dark:text-navy-300">
UI/UX Designer
</p>
</div>
</div>
<button
class="ac-trigger btn -mr-1.5 size-8 rounded-full p-0 hover:bg-slate-300/20 focus:bg-slate-300/20 active:bg-slate-300/25 dark:hover:bg-navy-300/20 dark:focus:bg-navy-300/20 dark:active:bg-navy-300/25"
>
<i
class="ac-icon fas fa-chevron-down text-sm transition-transform"
></i>
</button>
</div>
<div class="ac-panel">
<div class="px-4 py-4 sm:px-5">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi
earum magni officiis possimus repellendus. Accusantium adipisci
aliquid praesentium quaerat voluptate.
</p>
<div class="mt-4 flex justify-between">
<div class="flex flex-wrap -space-x-2">
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-16.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<div
class="is-initial rounded-full bg-info text-xs+ uppercase text-white ring ring-white dark:ring-navy-700"
>
jd
</div>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-20.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-8.jpg"
alt="avatar"
/>
</div>
<div class="avatar size-7 hover:z-10">
<img
class="rounded-full ring ring-white dark:ring-navy-700"
src="images/avatar/avatar-5.jpg"
alt="avatar"
/>
</div>
</div>
<button
class="btn size-7 rounded-full bg-slate-150 p-0 font-medium text-slate-800 hover:bg-slate-200 focus:bg-slate-200 active:bg-slate-200/80 dark:bg-navy-500 dark:text-navy-50 dark:hover:bg-navy-450 dark:focus:bg-navy-450 dark:active:bg-navy-450/90"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="size-5 rotate-45"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 11l5-5m0 0l5 5m-5-5v12"
/>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Javascript -->
<script>
new Accordion(document.querySelector("#collapse_exapmple_6"), {
onlyChildNodes: false,
duration: 200,
showMultiple: true,
});
</script>