Accordion
Design System - Accordion component

// Sample code
<Accordion
icon="Accessibility"
number={1}
onToggle={()=>{}}
title="Section Header"
>
<Accordion
isChild={true}
title="Nested Accordion"
>
This is a nested accordion demonstrating component composition. The isChild prop ensures proper styling and behavior.
</Accordion>
</Accordion>// Sample code
DigitAccordion(
header: Text('Accordion'),
content: Text('This is the content of Accordion'),
initiallyExpanded: false,
divider: true,
showBorder: true,
),Anatomy

Variants
Key Properties
Property Configuration Table
Property
Value
Default
Property
Value
Default
Behaviours
Usage Guide
Change log
Date
Number
Notes
Design Checklist
Last updated
Was this helpful?













