Drag and Drop is a feature that allows users to directly manipulate the user interface of a website or application. It can be applied in a variety of use cases and is typically used to grab one object, drag it to another location and drop it. It is built into several components within the Goldman Sachs Design System.
In order to provide consistent visual feedback to the user we use the same underlying conventions for each of the key elements of drag and drop, which are detailed in the general Drag and Drop Component. Visual conventions include drag icons, grabbed item borders and elevation, and shading for drop zones.
Draggable lists can be created using the List component with Drag and Drop. Items within of the draggable list can have their position sorted or shifted relative by the user. to each other.
Typically used to help a user set a priority order by the user.
Drag and drop can also be used to move items between lists.
The Card component can also be used to create groups of draggable objects that can be reordered and sorted by the user.
Drag and drop can be used for file uploading. It can be implemented as a full page option or within a modal or it can be added inline to a form.