Skip to content

Card

Content container with title, subtitle, and slots.

Basic Usage

loading

Type

loading

Variant

default, flat, elevated, gradient, colored.

Slots

  • header: Custom header
  • title: Title
  • sub-title: Subtitle
  • footer: Footer
  • default: Body content

No Header

loading

Set show-header="false" to hide the header.

API

PropDescriptionType
titleTitlestring
subTitleSubtitlestring
showHeaderWhether to show headerboolean
showFooterWhether to show footerboolean
shadowShadowboolean | 'hover' | 'never'
borderedBorderedboolean
variantVariantCardVariant
typeColor type for header'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default'

MIT License