Collapsible

Approved to Add Design Complete IMPLEMENTATION PENDING

The three statuses above and their possible values:

PROPOSAL STATUS

DESIGN STATUS

IMPLEMENTATION STATUS

PROPOSAL STATUS

DESIGN STATUS

IMPLEMENTATION STATUS

DRAFT

DESIGN PENDING

IMPLEMENTATION PENDING

READY FOR REVIEW

DESIGN PLANNED

IMPLEMENTATION PLANNED

APPROVED TO ADD

DESIGN IN PROGRESS

IMPLEMENTATION IN PROGRESS

DEFERRED

DESIGN COMPLETE

IMPLEMENTATION COMPLETE

NEEDS CHANGES

Β 

Β 

For more information see the https://openedx.atlassian.net/wiki/spaces/BPL/pages/1773502564/Component+Contribution+Process#Step-1-%E2%80%93-Start-a-component-proposal.

Collapsible is an element that allows a user to toggle (view/hide) supplemental information or actions.

When to use:

  • To organize related information.

  • To shorten pages and reduce scrolling when content is not crucial to read in full.

  • When space is at a premium and long content cannot be displayed all at once.

Contributors

@Adam Butterworth (Deactivated) @Kevin McGrath (Deactivated)

Slack channel

N/A

Paragon Jira ticket

https://openedx.atlassian.net/browse/PAR-222

Other Jira tickets

Design resources

https://www.figma.com/file/dJr5ixCRKlXiuA4BsKxAk3/Design-System-Workspace?node-id=2982%3A14715

Technical docs


Design

Β 

https://www.figma.com/file/dJr5ixCRKlXiuA4BsKxAk3/Design-System-Workspace?node-id=3000%3A151

Variants

Β 


Best Practices

Do

Β 

Don't

  • Add multiple clickable elements into the collapsed/closed state (eg. buttons, links)

  • Use different size text between header and body

  • Put additional space between multiple collapsibles

  • Use collapsibles for high-priority, critical, or instructional information

Related Components

Β 


Specification

What does an engineer need to know in order to build this component?

Redlined Design Spec

Β 

Behaviors

Open/Close

When the toggle is clicked (button or link), the β€œhidden” content should appear and push all other page content down. When clicked again, the β€œhidden” content should collapse back into the static component. (example)

Accessibility

Β 


Notes

Notes from collaborator conversations or meetings regarding this component.

XX.XX.20XX

Β 

Β