Drag the playing cards out of the stack and let go. Dragging them beyond the desk will throw them out of the stack. If you drag too little and let go, the cards will spring back into place. You can throw cards back into the stack after you have thrown them out.
Open the Console to view the associated events.
Demonstration of https://github.com/gajus/swing implementation.
https://github.com/ssanjun/react-swing is a React component for implementing swing