Plain disclosure rows
Unframed questions with trailing chevrons and aligned answers.
page AccordionExample {
state items = [
{
"value": "workspace",
"label": "How do I create a workspace?",
"content": "Choose Create workspace, add a name, and invite your team. You can update the details any time in Settings."
},
{
"value": "billing",
"label": "Can I change my plan later?",
"content": "Yes. Open Billing to compare plans and choose the one that suits your team."
},
{
"value": "security",
"label": "How is my account protected?",
"content": "Enable two-step verification and add a recovery method to keep your account secure."
}
]
state defaultOpen = [
"workspace"
]
view {
<Accordion
items="{items}"
defaultOpen="{defaultOpen}"
indicator="chevron"
indicatorPosition="end"
/>
}
}