SoybeanUI is now VeanUIMigration guidePackages moved to @vean/aria and @vean/ui, and the docs moved to veanui.com.This site redirects in Nov 2026; the @soybeanjs packages are deprecated in Apr 2027.
Back to catalog
Component detail entry
Data Display
@soybeanjs/ui
SAccordion

Accordion

Accordion belongs to the Data Display category. Start with demos and usage, then use the API tables to finish integration and styling decisions.

Use the quick jump panel to reach overview, usage, demos, and API first, then continue through the full page.

Quick jump

Related components

If you are composing interactions in the same family, these components usually pair well together.

Changelog

Version history is grouped by release so you can quickly see what changed for this component across published versions.

v0.22.0

2026-05-13

Compare release

Optimization

enable collapsible behavior by default and update related props

Scope: accordionAuthors: soybeanjsView commitbec18

v0.15.0

2026-04-26

Compare release

Feature

Implement AccordionCompact component and update related types and context

Scope: accordionAuthors: soybeanjsView commite05b3

Feature

add AccordionDescription component and update related files

Scope: accordionAuthors: soybeanfeView commit6506e

Optimization

optimize slot template types

Scope: accordionAuthors: soybeanjsView commitdb7a1

Optimization

reorganize imports and update slot structure for Accordion components

Scope: accordionAuthors: soybean-jsView commit22707

Feature

add AccordionDescription component and update related files

Scope: accordionAuthors: soybeanfeView commit6506e

Optimization

reorganize imports and update slot structure for Accordion components

Scope: accordionAuthors: soybean-jsView commit22707

Feature

Implement AccordionCompact component and update related types and context

Scope: accordionAuthors: soybeanjsView commite05b3

Optimization

optimize slot template types

Scope: accordionAuthors: soybeanjsView commitdb7a1

v0.8.0

2026-02-10

Compare release

Fix

add default value for unmountOnHide prop

Scope: accordionAuthors: soybeanjsView commit1f86b

v0.0.2

2025-11-18

Compare release

Feature

implement accordion component structure with root, item, header, content, trigger, and context management

Scope: accordionAuthors: soybeanjsView commit183c5

Feature

add theme context for customizable styles across accordion components

Scope: accordionAuthors: soybeanjsView commite7600

Feature

implement Accordion component with props management, customizable slots, and theme context integration

Scope: accordionAuthors: soybeanjsView commita0fcd

Feature

add multiple accordion examples with custom icons and styling options, and integrate Card component examples

Scope: accordionAuthors: soybeanjsView commitc6128

Feature

implement Accordion component with customizable slots and props, enhancing accordion functionality and theming support

Scope: accordionAuthors: soybeanjsView commitbe778

Fix

enhance content slot by wrapping description in a paragraph and update accordion variant styles for better spacing

Scope: accordionAuthors: soybeanjsView commit7a4cc

Fix

adjust padding and gap values for trigger elements across all size variants for improved layout consistency

Scope: accordionAuthors: soybeanjsView commitdb0e7

Optimization

optimize accordion with useSelection

Scope: accordionAuthors: soybeanjsView commit220ac

Refactor

rename root element reference for clarity and update trigger ID prefix for uniqueness

Scope: accordionAuthors: soybeanjsView commit19086

Refactor

replace direct collection item attribute usage with utility function to improve keydown handling

Scope: accordionAuthors: soybeanjsView commit5e894

Refactor

update accordion context to use shallowRef for rootElement and improve direction handling

Scope: accordionAuthors: soybeanjsView commit273cc

Refactor

simplify accordion component props by removing unnecessary type parameters and improving clarity in single/multiple handling

Scope: accordionAuthors: soybeanjsView commit5d201

Refactor

rename toggleModelValue to onModelValueChange for improved clarity in value handling

Scope: accordionAuthors: soybeanjsView commitf3161

Refactor

rename 'direction' to 'dir' for consistency in context handling

Scope: accordionAuthors: soybeanjsView commit99efc

Refactor

rename type AccordionItemData to AccordionOptionData

Scope: accordionAuthors: soybeanjsView commit13ef9

Feature

implement accordion component structure with root, item, header, content, trigger, and context management

Scope: accordionAuthors: soybeanjsView commit183c5

Feature

add theme context for customizable styles across accordion components

Scope: accordionAuthors: soybeanjsView commite7600

Feature

implement Accordion component with props management, customizable slots, and theme context integration

Scope: accordionAuthors: soybeanjsView commita0fcd

Feature

add multiple accordion examples with custom icons and styling options, and integrate Card component examples

Scope: accordionAuthors: soybeanjsView commitc6128

Feature

implement Accordion component with customizable slots and props, enhancing accordion functionality and theming support

Scope: accordionAuthors: soybeanjsView commitbe778

Fix

enhance content slot by wrapping description in a paragraph and update accordion variant styles for better spacing

Scope: accordionAuthors: soybeanjsView commit7a4cc

Fix

adjust padding and gap values for trigger elements across all size variants for improved layout consistency

Scope: accordionAuthors: soybeanjsView commitdb0e7

Optimization

optimize accordion with useSelection

Scope: accordionAuthors: soybeanjsView commit220ac

Refactor

rename root element reference for clarity and update trigger ID prefix for uniqueness

Scope: accordionAuthors: soybeanjsView commit19086

Refactor

replace direct collection item attribute usage with utility function to improve keydown handling

Scope: accordionAuthors: soybeanjsView commit5e894

Refactor

update accordion context to use shallowRef for rootElement and improve direction handling

Scope: accordionAuthors: soybeanjsView commit273cc

Refactor

simplify accordion component props by removing unnecessary type parameters and improving clarity in single/multiple handling

Scope: accordionAuthors: soybeanjsView commit5d201

Refactor

rename toggleModelValue to onModelValueChange for improved clarity in value handling

Scope: accordionAuthors: soybeanjsView commitf3161

Refactor

rename 'direction' to 'dir' for consistency in context handling

Scope: accordionAuthors: soybeanjsView commit99efc

Refactor

rename type AccordionItemData to AccordionOptionData

Scope: accordionAuthors: soybeanjsView commit13ef9