# Feature DREAM-257 - Create a CollapsibleSectionComponent 

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-257

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 16.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| DREAM-268 | Bug | Collapsed preview not working | closed |  | 16.0.0 |  | Frontend components and Primer design system |
| DREAM-267 | Bug | Missing space when putting multiple CollapsibleSections below each other | closed |  | 16.0.0 |  | Frontend components and Primer design system |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Frontend components and Primer design system |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Henriette Darge |
| Product manager |  |
| Feature Lead |  |
| Developers | Henriette Darge |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Acceptance criteria**

  - There is a `CollabsibleSection` component within Primer (name can change)

  - It allows the following slots:
    
      - Header
        
          - Title
        
          - Caption
        
          - Free content slot for the right side
    
      - Content (that will be collapsed)

  - Component is documented in Lookbook

**Hint for QA**

  - This can currently only be tested in [lookbook](https://qa.openproject-edge.com/lookbook/inspect/primer/open_project/collapsible_section/playground), whereas the "collapsed" example is not working. This is tracked in <mention class="mention" data-id="63443" data-type="work_package" data-text="#63443">\#63443</mention> 

**Usage**

  - Time\&Costs reports

<figure class="image image_resized op-uc-figure" style="width:464px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/404436/content"></div></figure>
