This is a proof of concept for a multi-select dropdown list.
It comprises a conventional group of checkboxes inside a hide / reveal component that is built using <details> and <summary> elements. Both components have been used as specified in the GOV.UK Design System.
This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown.
This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown.
This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown.
This design is identical except that the <div> element containing the checkboxes has the attribute "position: absolute", so the following content does not move when the dropdown is open.
This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown.
This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown.
This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown. This is more content that follows the dropdown.