Accordion icons and custom slots
Accordion supports custom trigger icons and end content. Avatar displays initials in medium weight.
New features
- Added
iconto Accordion.Root to replace the default chevron on each trigger. - Added
endSlotto Accordion.Root to replace the icon with non-interactive content, or hide it withnull. - Added useAccordionItem to read an item's
activeanddisabledstate.
Improvements
- Changed Avatar initials from
semiboldtomediumfont weight.
