2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Components

AccordionGroup

Updated: June 30, 2026
View on GitHub
A container component that groups multiple Accordion components together with consistent styling and dividers between each item. It's useful for creating FAQ sections, navigation menus, and other grouped collapsible content. AccordionGroup applies smart border-radius: the first item gets top-radius, the last item gets bottom-radius, and middle items have no radius — creating a cohesive grouped appearance.
Prop
Type
Default
itemsrequired
AccordionItem[]
size
lms
m
autoCollapse
Close the open item when another one is opened.
booleantrue
className
string
style
React.CSSProperties
…and every FlexProps propinherited
Prop
Type
Default
title
ReactNode
content
ReactNode
headerProps
FlexProps
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club