- <vuestic-card title-on-image
- overlay
- image="https://picsum.photos/300/200/?image=1043">
- <template slot="title">
- {{ $t('cards.title.overlayAndTextOnImage') }}
- </template>
- {{ $t('cards.contentText') }}
- <p class="pt-3 mb-0">
- <a class="pr-2 card-link-secondary" href="#">
- {{ $t('cards.link.secondaryAction') }}
- </a>
- </p>
- </vuestic-card>
Props
image
- String - image urlimageAlt
- String - text, that placed in image area, when image is loading or can't be loadedstripe
- String - color of line above the title imagetitleOnImage
- Boolean - moves text on top of image.overlay
- Boolean - shows darkish overlay on top of your image. Works only withtitle-on-image
. Needed for light images to keep text readable.theme
- String - color of card background
Slotstitle
- card titledefault
- card body
Find DEMOs here!