SVG-cards is a software library that offers a comprehensive collection of playing cards crafted purely with SVG. It includes all cards like kings, queens, jacks, numbers, jokers and card backs for seamless integration into any software application.
These cards feature all the traditional elements such as kings, queens, jacks, numbers, jokers, and backs of cards. The design of the kings, queens and jacks is inspired by the beautiful French representation. Accessing each card is easily done by rendering the file into a pixmap and clipping each card. Alternatively, the DOM interface method can be used by using their name. There are many options as all cards are inside a SVG group.
The names of the cards are as follows: black_joker, red_joker, back, and {king, queen, jack}_{club, diamond, heart, spade}, {1,2,3,4,5,6,7,8,9,10}_{club,diamond,heart,spade}. To illustrate, the ace of club is 1_club whilst the queen of diamond is queen_diamond.
The new version of SVG-cards has several improvements. A significant bug that prevented SVG cards from being displayed in Firefox and Adobe Illustrator was fixed. This ensures a hassle-free experience and a seamless integration into any project.
Version 2.0.1: N/A