Context
Dense trading screens need optional details such as fee breakdowns and advanced
settings without the structure of a multi-item accordion.
Scope
- Add
Collapsible, CollapsibleTrigger, and CollapsibleContent.
- Support controlled and uncontrolled state.
- Provide compact and default trigger layouts.
- Use tokenized motion with a reduced-motion fallback.
Acceptance criteria
- Trigger exposes
aria-expanded and references its content.
- State works with keyboard and pointer input.
- Content can contain focusable controls without focus loss.
- No fixed height assumption clips dynamic content.
- Tests cover both state models and accessibility relationships.
Out of scope
- Persisting disclosure preferences.
- Creating feature-specific advanced settings.
Context
Dense trading screens need optional details such as fee breakdowns and advanced
settings without the structure of a multi-item accordion.
Scope
Collapsible,CollapsibleTrigger, andCollapsibleContent.Acceptance criteria
aria-expandedand references its content.Out of scope