Motion icon · Free
Credit Card icon — animated SVG
A free credit card motion icon that acts out its meaning. The animation is pure CSS inside the SVG, so it works in any website or app without Lottie or JavaScript. 24px grid, 2px stroke, round caps. Free for personal and commercial use.
Open in UAssetHover SVG code (plays when hovered)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="uah-credit-card" overflow="visible"><style>.uah-credit-card g.uam,.uah-credit-card [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-credit-card:hover,:hover>.uah-credit-card,:focus-visible>.uah-credit-card) g.uam{animation:uaLswipe 0.70s cubic-bezier(.2,.8,.2,1) 0s 1 both}@keyframes uaLswipe{0%,100%{transform:none}30%{transform:translateX(-2px) rotate(-6deg)}60%{transform:translateX(2px) rotate(3deg)}}@media (prefers-reduced-motion:reduce){.uah-credit-card *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="5" width="20" height="14" rx="3.5"/><path pathLength="1" d="M2 10h20"/><path pathLength="1" d="M6 15h4"/></g></svg>Looping SVG code
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="ual-credit-card" overflow="visible"><style>.ual-credit-card g.uam,.ual-credit-card [class^=p]{transform-box:fill-box;transform-origin:center}.ual-credit-card g.uam{animation:uaLswipeL 1.82s cubic-bezier(.2,.8,.2,1) 0s infinite}@keyframes uaLswipeL{0.0%,38.0%{transform:none}11.4%{transform:translateX(-2px) rotate(-6deg)}22.8%{transform:translateX(2px) rotate(3deg)}}@media (prefers-reduced-motion:reduce){.ual-credit-card *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="5" width="20" height="14" rx="3.5"/><path pathLength="1" d="M2 10h20"/><path pathLength="1" d="M6 15h4"/></g></svg>
Static SVG code
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect pathLength="1" x="2" y="5" width="20" height="14" rx="3.5"/><path pathLength="1" d="M2 10h20"/><path pathLength="1" d="M6 15h4"/></svg>
Tags: card, credit, finance, line, outline, stroke
More Finance motion icons
WalletReceiptDollarPercentBankBanknoteCoinsPiggy BankCalculatorDiscountHand CoinsCandlestickSafeRupeeEuroPoundDollar CircleATMProfitLossAdd CardTaxTransferCard Verified