### Install the package Source: https://www.npmjs.com/package/%40letele/playing-cards?activeTab=versions Use npm to install the package in your project. ```bash npm i @letele/playing-cards ``` -------------------------------- ### Import and render a specific card Source: https://www.npmjs.com/package/%40letele/playing-cards?activeTab=versions Import a specific card component directly from the package and render it within a container. ```javascript import { Sq } from '@letele/playing-cards'; //... return (
); ``` -------------------------------- ### Access cards from the deck object Source: https://www.npmjs.com/package/%40letele/playing-cards?activeTab=versions Import the entire deck as an object to dynamically access and render specific card components. ```javascript import * as deck from '@letele/playing-cards'; const Card = deck['Sq']; //... return (
); ``` -------------------------------- ### Set card container dimensions Source: https://www.npmjs.com/package/%40letele/playing-cards?activeTab=versions Ensure the SVG card fills its container by setting its height and width to 100%. ```javascript return (
); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.