Payment Card Illustration
navdeep-singh/payment-cardFreeComponent
A motion-ready payment card illustration.
Install it
npx shadcn@latest add https://ui.navdeepsingh.dev/r/payment-card.jsonSource
1'use client'23import { useReducedMotion } from 'motion/react'45import { cn } from '@/lib/utils'6import { PaymentCard } from './_expense-workflow-parts'78type PaymentCardIllustrationProps = {9 className?: string10}1112export function PaymentCardIllustration({ className }: PaymentCardIllustrationProps) {13 const shouldReduceMotion = Boolean(useReducedMotion())1415 return (16 <div17 role="img"18 aria-label="Payment card"19 className={cn('relative h-88 w-56 sm:h-96 sm:w-64', className)}20 >21 <PaymentCard isActive={true} shouldReduceMotion={shouldReduceMotion} />22 </div>23 )24}2526export default PaymentCardIllustration
What it pulls in
npm packages
Files it writes
More from navdeep-singh
All 64 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Animated Groupanimated-group | navdeep-singh | Components | Free | 1 dep | |
| Animated Numbersanimated-numbers | navdeep-singh | Components | Free | 1 dep | |
| Animated Tabsanimated-tabs | navdeep-singh | Components | Free | 2 deps | |
| Approval Panel Illustrationapproval-panel | navdeep-singh | Components | Free | 2 deps · 2 files | |
| Brand Logobrand-logo | navdeep-singh | Components | Free | 1 dep | |
| Contribution Graphcontribution-graph | navdeep-singh | Components | Free | no deps | |
| Designed for Focus Illustrationdesigned-for-focus-illustration | navdeep-singh | Components | Free | 1 dep | |
| Expandable Cardexpandable-card | navdeep-singh | Components | Free | 4 deps |
