Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Card Folder

Preview

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

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/card-folder

Import the shared styles once in your application.

TSUsage
import CardFolder from '@/components/beui/blocks/CardFolder.vue'
import '@/components/beui/styles.css'

API Reference

title
string
Default—
cardNumber
string
Default—
expiry
string
Default—
cvv
string
Default—
#card?
slot

The card artwork tucked into the sleeve.

Default—
v-model:open?
boolean
Defaultundefined
defaultOpen?
boolean
Defaultfalse
v-model:detailsVisible?
boolean
Defaultundefined
defaultDetailsVisible?
boolean
Defaultfalse
@click?
() => void
Default—
onAction?
() => void
Default—
ariaLabel?
string
Default—
actionLabel?
string
Default—
disabled?
boolean
Defaultfalse
className?
string
Default—
cardClassName?
string
Default—
labels?
Partial<typeof cardFolderMessages>

Override any built-in string. `{title}`, `{lastFour}` and `{expiry}` fill `open`, `close` and `actions`.

Default—
@open-change?
(value: boolean) => void
Default—
@details-visible-change?
(value: boolean) => void
Default—

Updated