Accordions
Build vertically collapsing accordions in combination with Alpinejs plugin. The accordion uses collapse internally to make it collapsible.
Example
The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
<div id="Accordione" x-data="{selected:0}">
<!-- list -->
<div class="relative hsdfdsfhsdf hsdfdsfhsdf-wrap oskasdadiaa shadow mb-4 bg-white dark:bg-gray-900">
<div class="border-b border-gray-200 mb-0 bg-gray-100 dark:bg-gray-900 dark:bg-opacity-20 dark:border-gray-800 py-2 px-4" id="HeadingOnee">
<div class="d-grid mb-0">
<button class="py-3 px-0 w-full rounded leading-5 font-medium hsdfdsfhsdf qesolakmsjd focus:outline-none focus:ring-0" @click="selected !== 0 ? selected = 0 : selected = null">
How is the SEO services system at Taidash?
<span>
<svg class="transform transition duration-500" :class="{ '-rotate-180': selected == 0 }" width="1rem" height="1rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z" clip-rule="evenodd"></path>
</svg>
</span>
</button>
</div>
</div>
<div id="CollapseOnee" x-show="selected == 0">
<div class="hsdfdsfhsdf-1 p-6">
<p>The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.</p>
</div>
</div>
</div>
<!-- list -->
<div class="relative hsdfdsfhsdf hsdfdsfhsdf-wrap oskasdadiaa shadow mb-4 bg-white dark:bg-gray-900">
<div class="border-b border-gray-200 mb-0 bg-gray-100 dark:bg-gray-900 dark:bg-opacity-20 dark:border-gray-800 py-2 px-4" id="HeadingTwoe">
<div class="d-grid mb-0">
<button class="py-3 px-0 w-full rounded leading-5 font-medium hsdfdsfhsdf qesolakmsjd focus:outline-none focus:ring-0" @click="selected !== 1 ? selected = 1 : selected = null">
How many keywords are optimized?
<span>
<svg class="transform transition duration-500" :class="{ '-rotate-180': selected == 1 }" width="1rem" height="1rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z" clip-rule="evenodd"></path>
</svg>
</span>
</button>
</div>
</div>
<div id="CollapseTwoe" x-show="selected == 1">
<div class="hsdfdsfhsdf-1 p-6">
<p>The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.</p>
</div>
</div>
</div>
<!-- list -->
<div class="relative hsdfdsfhsdf hsdfdsfhsdf-wrap oskasdadiaa shadow mb-4 bg-white dark:bg-gray-900">
<div class="border-b border-gray-200 mb-0 bg-gray-100 dark:bg-gray-900 dark:bg-opacity-20 dark:border-gray-800 py-2 px-4" id="HeadingThreee">
<div class="d-grid mb-0">
<button class="py-3 px-0 w-full rounded leading-5 font-medium hsdfdsfhsdf qesolakmsjd focus:outline-none focus:ring-0" @click="selected !== 2 ? selected = 2 : selected = null">
Do you offer any discounted plans?
<span>
<svg class="transform transition duration-500" :class="{ '-rotate-180': selected == 2 }" width="1rem" height="1rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z" clip-rule="evenodd"></path>
</svg>
</span>
</button>
</div>
</div>
<div id="CollapseThreee" x-show="selected == 2">
<div class="hsdfdsfhsdf-1 p-6">
<p>The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.</p>
</div>
</div>
</div>
<!-- list -->
<div class="relative hsdfdsfhsdf hsdfdsfhsdf-wrap oskasdadiaa shadow mb-4 bg-white dark:bg-gray-900">
<div class="border-b border-gray-200 mb-0 bg-gray-100 dark:bg-gray-900 dark:bg-opacity-20 dark:border-gray-800 py-2 px-4" id="HeadingFoure">
<div class="d-grid mb-0">
<button class="py-3 px-0 w-full rounded leading-5 font-medium hsdfdsfhsdf qesolakmsjd focus:outline-none focus:ring-0" @click="selected !== 3 ? selected = 3 : selected = null">
Can I cancel my account at any time?
<span>
<svg class="transform transition duration-500" :class="{ '-rotate-180': selected == 3 }" width="1rem" height="1rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z" clip-rule="evenodd"></path>
</svg>
</span>
</button>
</div>
</div>
<div id="CollapseFoure" x-show="selected == 3">
<div class="hsdfdsfhsdf-1 p-6">
<p>The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.</p>
</div>
</div>
</div>
</div>