Content
View differences
Updated by Henriette Darge about 1 year ago
**Context**
Needed for ##54751.
**Acceptance criteria**
There is a component which can be used inside a Primer::Beta::BorderBox
* It accepts
Is collapsible/expandable
* title (e.g. "Backlogs")
* Can optionally have a counter after the title (e.g. "Backlogs label ("Backlogs (6)")
* optionally a description displayed below the title
* Next to the counter (or title if there is no counter) there is a chevron
* The component is clickable to extend/collapse the whole BorderBox
* When collapsed, the bottom border is thicker (2px) to indicate there are items hidden
* Click zone to expand/collapse is the label set, consisting of:
* Label
* Counter (optional)
* Arrow
* Can still have a more action on the right edge
**Figma**
* _To be designed_
**Technical notes**
* Primer repo
**Out of scope**
* A whole `CollapsibleBorderBox` component
* to make it easier to re-use the collapsible meachnism later
* to make it easier that all BorderBoxes on the page look the same (with additional elements in the header as dragDrop icon, ActionMenu, etc) <br>
Needed for ##54751.
**Acceptance criteria**
There is a component which can be used inside a Primer::Beta::BorderBox
* It accepts
*
* optionally a description displayed below the title
* Next to the counter (or title if there is no counter) there is a chevron
* The component is clickable to extend/collapse the whole BorderBox
* When collapsed, the bottom border is thicker (2px) to indicate there are items hidden
* Can still have a more action on the right edge
* _To be designed_
**Technical notes**
* Primer repo
**Out of scope**
* A whole `CollapsibleBorderBox` component
* to make it easier to re-use the collapsible meachnism later
* to make it easier that all BorderBoxes on the page look the same (with additional elements in the header as dragDrop icon, ActionMenu, etc)