General

Accordion

A group of togglable entries

Overview

The Accordion component lets users expand and collapse sections of content, keeping the layout compact while allowing access to detailed information on demand.

Key Business & UX Benefits

  • Reduces visual clutter by showing only one or a few sections at a time.
  • Improves scannability so users can jump to the section they need.
  • Familiar pattern that matches user expectations and reduces learning effort.
  • Keeps users on the page by revealing content in place instead of navigating away.
Pro-Tip from Larry: Use accordions for FAQ or long specs so the page stays short and easy to scan.

Usage

LuiAccordion
<LuiAccordion>
  <LuiAccordionItem title="Hello, world!">
    Lorem Ipsum dolor
  </LuiAccordionItem>
  <LuiAccordionItem title="This is a headline!">
    And this might be the greatest content ever!
  </LuiAccordionItem>
</LuiAccordion>

Feature List

  • Expandable and collapsible content sections
  • Single or multiple sections open at once
  • Clear visual state for expanded vs collapsed
  • Accessible keyboard and screen reader support

API Reference

LuiAccordion

PropDefaultType
accordionStylesimple"simple" | "boxed-buttons" | "buttons"
typesingle"single" | "multiple"
defaultValuestring
sizem"s" | "m"
SlotType
defaultany

LuiAccordionItem

PropDefaultType
titlerequiredstring
iconstring
valuestring
disabledboolean
SlotType
defaultany
headerTextany
Copyright © 2026 Laioutr GmbH