Accordion

Live

An accordion is a UI component that organizes content into collapsible sections, allowing users to expand or collapse information as needed. It helps keep interfaces clean and structured by displaying only relevant content at a given time.

AA

WCAG 2.1 accessibility compliant

Accordion

Live

An accordion is a UI component that organizes content into collapsible sections, allowing users to expand or collapse information as needed. It helps keep interfaces clean and structured by displaying only relevant content at a given time.

AA

WCAG 2.1 accessibility compliant

Accordion

An accordion is a UI component that organizes content into collapsible sections, allowing users to expand or collapse information as needed. It helps keep interfaces clean and structured by displaying only relevant content at a given time.

By using accordions, you provide a more interactive way for users to explore content at their own pace, reducing cognitive load and improving overall usability. When designed properly, accordions enhance the browsing experience without hiding essential information.

A frequently asked questions (FAQ) accordion UI component with three sections. The first section, labeled ‘What is this template for?’, is collapsed and has a ‘+’ icon on the right. The second section, labeled ‘Do I need coding skills to use this template?’, is expanded and displays the answer: ‘No, this template is built entirely in Framer, making it easy to customize without writing code.’ It has a ‘-’ icon on the right. The third section, labeled ‘Can I customize the template to fit my needs?’, is collapsed and has a ‘+’ icon on the right.

Accordions are useful for structuring content efficiently while keeping interfaces minimal. They should be used when users don’t need to see all content at once but require easy access to specific sections.

When to use

When not to use

✅ FAQs and Help Sections

⛔️ For essential content

✅ Content-heavy pages

⛔️ Too many nested sections

✅ Mobile layouts


Anatomy

Element

Description

  1. Body

The title describes the content the row can reveal. Titles are configurable to small (default) or large size. Titles can wrap to multiple lines if needed, but it’s best to keep them concise.



  1. Title

The content area of an accordion row can include text, images, or other components. The accordion height will flex to fit various types of content. For paragraph text, keep the line length between 40–75 characters (counting both letters and spaces).

  1. Icon

Lucide Icon

States

An accordion-style UI component with two sections. The top section, labeled ‘More info,’ has a red circle with a slash icon indicating a poor label choice. The bottom section, labeled ‘Shipping & Returns,’ has a green checkmark icon indicating a good label choice. Both sections have a ‘+’ icon on the right, suggesting they can be expanded.

Spacing

By using accordions, you provide a more interactive way for users to explore content at their own pace, reducing cognitive load and improving overall usability. When designed properly, accordions enhance the browsing experience without hiding essential information.

A frequently asked questions (FAQ) accordion UI component with three sections. The first section, labeled ‘What is this template for?’, is collapsed and has a ‘+’ icon on the right. The second section, labeled ‘Do I need coding skills to use this template?’, is expanded and displays the answer: ‘No, this template is built entirely in Framer, making it easy to customize without writing code.’ It has a ‘-’ icon on the right. The third section, labeled ‘Can I customize the template to fit my needs?’, is collapsed and has a ‘+’ icon on the right.

Accordions are useful for structuring content efficiently while keeping interfaces minimal. They should be used when users don’t need to see all content at once but require easy access to specific sections.

When to use

When not to use

✅ FAQs and Help Sections

⛔️ For essential content

✅ Content-heavy pages

⛔️ Too many nested sections

✅ Mobile layouts


Anatomy

Element

Description

  1. Body

The title describes the content the row can reveal. Titles are configurable to small (default) or large size. Titles can wrap to multiple lines if needed, but it’s best to keep them concise.



  1. Title

The content area of an accordion row can include text, images, or other components. The accordion height will flex to fit various types of content. For paragraph text, keep the line length between 40–75 characters (counting both letters and spaces).

  1. Icon

Lucide Icon

States

An accordion-style UI component with two sections. The top section, labeled ‘More info,’ has a red circle with a slash icon indicating a poor label choice. The bottom section, labeled ‘Shipping & Returns,’ has a green checkmark icon indicating a good label choice. Both sections have a ‘+’ icon on the right, suggesting they can be expanded.

Spacing

By using accordions, you provide a more interactive way for users to explore content at their own pace, reducing cognitive load and improving overall usability. When designed properly, accordions enhance the browsing experience without hiding essential information.

A frequently asked questions (FAQ) accordion UI component with three sections. The first section, labeled ‘What is this template for?’, is collapsed and has a ‘+’ icon on the right. The second section, labeled ‘Do I need coding skills to use this template?’, is expanded and displays the answer: ‘No, this template is built entirely in Framer, making it easy to customize without writing code.’ It has a ‘-’ icon on the right. The third section, labeled ‘Can I customize the template to fit my needs?’, is collapsed and has a ‘+’ icon on the right.

Accordions are useful for structuring content efficiently while keeping interfaces minimal. They should be used when users don’t need to see all content at once but require easy access to specific sections.

When to use

When not to use

✅ FAQs and Help Sections

⛔️ For essential content

✅ Content-heavy pages

⛔️ Too many nested sections

✅ Mobile layouts


Anatomy

Element

Description

  1. Body

The title describes the content the row can reveal. Titles are configurable to small (default) or large size. Titles can wrap to multiple lines if needed, but it’s best to keep them concise.



  1. Title

The content area of an accordion row can include text, images, or other components. The accordion height will flex to fit various types of content. For paragraph text, keep the line length between 40–75 characters (counting both letters and spaces).

  1. Icon

Lucide Icon

States

An accordion-style UI component with two sections. The top section, labeled ‘More info,’ has a red circle with a slash icon indicating a poor label choice. The bottom section, labeled ‘Shipping & Returns,’ has a green checkmark icon indicating a good label choice. Both sections have a ‘+’ icon on the right, suggesting they can be expanded.

Spacing

Continue reading

Get in touch

Got a project in mind? Let’s chat. I’m always keen to hear about new ideas, collaborations, or challenges you’re looking to solve. Drop me a message and we can explore how to bring your vision to life together.

Get in touch

Got a project in mind? Let’s chat. I’m always keen to hear about new ideas, collaborations, or challenges you’re looking to solve. Drop me a message and we can explore how to bring your vision to life together.

Get in touch

Got a project in mind? Let’s chat. I’m always keen to hear about new ideas, collaborations, or challenges you’re looking to solve. Drop me a message and we can explore how to bring your vision to life together.