Skip to content

Card API

API reference docs for the Stash Card component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import Card from '@leaflink/stash/Card.vue';

Props

NameTypeDefaultDescription
detachActionsbooleanfalseDetach the actions from the top of the card, making them absolute-positioned.

Slots

NameDescription
top-leftTop left actions slot, for rendering content on the card top-left
top-rightTop right actions slot, for rendering content on the card top-right
defaultDefault slot, for rendering card subcomponents

Events

None