Skip to main content

Card

The Card component is a versatile component that can be used for anything from a panel to a static image. The card component has numerous helper components to make markup as easy as possible. Components that have no listed options use Vue’s functional component option for faster rendering and serve as markup sugar to make building easier.

info

For more details about Vuetify’s usage of Card component, click Card page.
For more prop explanations, click Vuetify Card API page.

Props

AttributeDescriptionTypeDefault
activeClassConfigure the active CSS class applied.string
appendSetting append prop always appends the relative path to the current path.booleanfalse
darkMakes the theme black.boolen
disabledRemoves the ability to click or target the component.booleanfalse
exactSeparates the component.booleanfalse
hoverWill apply an elevation of 4dp when hovered.booleanFalse
hrefDesignates the component as anchor and applies the href attribute.string | objectundefined
imgspecifies an image background for the card.stringUndefined
linkApplies the light theme variant to the component.booleanfalse
loaderHeightSpecifies the height of the loader.number|string4
loadingDisplays linear progress bar.boolean|stringfalse
replaceSetting replace prop will call router.replace().booleanfalse
rippleApplies the v-ripple directive.boolean|objectfalse
toDenotes the target route of the link.string|objectUndefined
visibleVisibility of Card component.booleantrue

Events

AttributeDescription
clickEmitted when component is clicked

Samples Component

image

Samples Qjson

Card
CardTitle