Skip to content

DS-058: Build a Collapsible disclosure primitive #458

Description

@IbrahimIjai

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.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions