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

Menu

Card

Preview

Signed contract

The final PDF with every signature and the audit trail.

Invoice

Itemised billing for the period, ready for accounting.

Notifications

Choose what reaches your inbox.

Mentions and replies
Weekly digest

Review order

Check the details before you confirm.

Plan
Team, yearly
Seats
12
Billing email
[email protected]
Bright open-plan studio with long desks and plants

Studio, Lisbon

Desks for 12 people, booked for the March offsite.

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

Import the shared styles once in your application.

TSUsage
import Card from '@/components/beui/primitives/Card.vue'
import '@/components/beui/styles.css'

API Reference

Card

variant?
"outlined" | "muted"

Default "outlined".

Defaultoutlined
size?
"compact" | "default"

Spacing for every part. Default "default".

Defaultdefault
interactive?
boolean

Hover and press feedback, for a card that is one target as a whole. Visual only: the card never takes focus, so put the control that owns it inside and stretch it with `CARD_TARGET_CLASS`.

Defaultfalse
selected?
boolean

Marks a selectable card as chosen. Visual only; the control inside carries the state.

Defaultfalse
class?
string
Default—

CardHeader

class?
string
Default—

CardTitle

as?
"div" | "h2" | "h3" | "h4"

Heading level, when the card starts a section. Default "div".

Defaultdiv
class?
string
Default—

CardDescription

class?
string
Default—

CardAction

class?
string
Default—

CardContent

class?
string
Default—

CardFooter

class?
string
Default—
Also on React Native. Composable surfaces, selectable with press feedback.(opens in a new tab)

Used in these Pro blocks

Updated