Skip to content

Accordion FAQ Card

Join several accordions into one FAQ card with a single outline. ::part(container) merges the borders and corners, group keeps one answer open, and heading-level sets the level of the question headings.

How does the free trial work?

Every plan starts with a 14 day trial with all features enabled. No card is required, and the workspace moves to the free tier when the trial ends.

Can I switch plans later?

Plans can change at any time. Upgrades apply immediately and are billed pro rata, downgrades take effect at the next renewal.

What payment methods do you accept?

All major cards, PayPal, and SEPA direct debit. Annual invoices can also be paid by bank transfer.

How do I cancel my subscription?

Cancel from the billing page in one click. The workspace stays on the paid plan until the end of the billing period, and data is kept for 90 days after.

Code

The following example assumes that you have imported the component and set up the theme.

FAQ Card
<section class="faq-card" aria-label="Billing questions">
31 collapsed lines
<sv-accordion group="billing-faq" heading-level="2" opened>
<span slot="summary">How does the free trial work?</span>
<p>
Every plan starts with a 14 day trial with all features enabled. No card is required, and the
workspace moves to the free tier when the trial ends.
</p>
</sv-accordion>
<sv-accordion group="billing-faq" heading-level="2">
<span slot="summary">Can I switch plans later?</span>
<p>
Plans can change at any time. Upgrades apply immediately and are billed pro rata, downgrades
take effect at the next renewal.
</p>
</sv-accordion>
<sv-accordion group="billing-faq" heading-level="2">
<span slot="summary">What payment methods do you accept?</span>
<p>
All major cards, PayPal, and SEPA direct debit. Annual invoices can also be paid by bank
transfer.
</p>
</sv-accordion>
<sv-accordion group="billing-faq" heading-level="2">
<span slot="summary">How do I cancel my subscription?</span>
<p>
Cancel from the billing page in one click. The workspace stays on the paid plan until the end
of the billing period, and data is kept for 90 days after.
</p>
</sv-accordion>
</section>
<style>
26 collapsed lines
.faq-card {
max-inline-size: 40rem;
margin-inline: auto;
[slot="summary"] {
font-weight: 600;
}
sv-accordion::part(container) {
border-radius: 0;
}
sv-accordion:not(:first-of-type)::part(container) {
border-block-start: none;
}
sv-accordion:first-of-type::part(container) {
border-start-start-radius: var(--sv-bdr-rad-lg);
border-start-end-radius: var(--sv-bdr-rad-lg);
}
sv-accordion:last-of-type::part(container) {
border-end-start-radius: var(--sv-bdr-rad-lg);
border-end-end-radius: var(--sv-bdr-rad-lg);
}
}
</style>