Credit Card icon
A hand-drawn credit card icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Commerce
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
credit-card
Stroke weights and sizes
Use it in React Native
The Icon component draws credit-card by name, sized and coloured from your theme. Add it with npx @lumioui/cli add icon.
TSX Example.tsx
import { Icon } from "@/components/ui/icon";
<Icon name="credit-card" size={24} />
// colour and stroke follow your theme; pass color / strokeWidth to override SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG credit-card.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="2.6" y="4.6" width="18.8" height="14.8" rx="2.5"></rect><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="2.6" y1="8.4" x2="21.4" y2="8.4"></line><rect stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x="5.4" y="11" width="3" height="2.8" rx="0.9"></rect><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="5.4" y1="16.3" x2="8.2" y2="16.3"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10.6" y1="16.3" x2="14.8" y2="16.3"></line></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/credit-card.svg" width="24" height="24" alt="Credit Card" /> Where LumioUI uses it
- Payment Button component
- Stat Card component
- Address Card component
- Circle Reveal component
- Dock component
- Form component
- Map Sheet component
- Notification Item component
- Ride Option component
- Slide To Confirm component
- Stateful Button component
- Notification Banner component
- Activity Log screen
- Help Center screen
- Home Bento screen
- Paywall Trial Timeline screen
- Checkout Steps screen
- Order Cancel screen
- Bill Pay screen
- Dashboard screen
- Plan Management screen
- Wallet Home screen
- Flight Live screen