Design System

Segment

The segment component is used to wrap content in an optionally collapsible container, controlled by the Divider(divider-component.md) component. Use the attribute data-gds-segment="x" where x is a unique ID that corresponds with a data-gds-divider ID.

Demo
Working Example Collapse Divider *Click Me*
Content Goes Here
Error Log
Required
gds-segment
Display
gds-segment--collapse
Related Items
Divider