Card Folder

A landscape card tucked into a stitched purse pocket that lifts forward as the purse compresses into its bottom seam, with controlled open and card-detail visibility plus a separate overflow action.

Preview

Expiry08/29CVV•••Saurabh Chauhan•••• •••• •••• 0806

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/card-folder

API Reference

title
string
—
cardNumber
string
—
expiry
string
—
cvv
string
—
card
ReactNode
—
open?
boolean
—
defaultOpen?
boolean
false
onOpenChange?
((open: boolean) => void)
—
detailsVisible?
boolean
—
defaultDetailsVisible?
boolean
false
onDetailsVisibleChange?
((visible: boolean) => void)
—
onClick?
(() => void)
—
onAction?
(() => void)
—
ariaLabel?
string
—
actionLabel?
string
—
disabled?
boolean
false
className?
string
—
cardClassName?
string
—

Keep in mind

Some components on this site are inspired by or recreated from existing work across the web. I'm not here to take credit; just to learn, experiment, and sometimes push things a bit further. If something looks familiar and I forgot to mention you, reach out and I'll fix that right away.

Updated