is there a code example (or somthing like it) for a cards holder ?

i’m doing a card’s game

and want to give out the cards like in the online Uno game:

http://unoooo.com/2013/10/09/uno-game/

that you can pass the number of cards you want and the images and it puts them nicely in the deck

and everytime you pass on top of it it enlarges your card and pushes away the other cards… 

i know i can write a machinizem that does that, 

i’m hoping if i can somehow skip all that writing and if someone allready did it ?