-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(VCard): update examples (#18365)
- Loading branch information
Showing
9 changed files
with
202 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<v-card | ||
class="mx-auto my-8" | ||
max-width="344" | ||
title="Disabled card" | ||
subtitle="The card stays disabled" | ||
link | ||
disabled | ||
></v-card> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<template> | ||
<v-card | ||
class="mx-auto my-8" | ||
max-width="344" | ||
elevation="16" | ||
> | ||
<v-card-item> | ||
<v-card-title> | ||
Card title | ||
</v-card-title> | ||
<v-card-subtitle> | ||
Card subtitle secondary text | ||
</v-card-subtitle> | ||
</v-card-item> | ||
|
||
<v-card-text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
</v-card-text> | ||
</v-card> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<template> | ||
<v-card | ||
class="mx-auto" | ||
max-width="344" | ||
hover | ||
> | ||
<v-card-item> | ||
<v-card-title> | ||
Card title | ||
</v-card-title> | ||
<v-card-subtitle> | ||
Card subtitle secondary text | ||
</v-card-subtitle> | ||
</v-card-item> | ||
|
||
<v-card-text> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. | ||
</v-card-text> | ||
</v-card> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<template> | ||
<v-card | ||
class="mx-auto my-8" | ||
max-width="344" | ||
title="Vuetify on GitHub" | ||
prepend-icon="mdi-github" | ||
append-icon="mdi-open-in-new" | ||
href="https://github.com/vuetifyjs/vuetify/" | ||
target="_blank" | ||
rel="noopener" | ||
></v-card> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<v-card | ||
class="mx-auto" | ||
max-width="200" | ||
height="200" | ||
image="https://cdn.vuetifyjs.com/images/cards/docks.jpg" | ||
title="Card title" | ||
theme="dark" | ||
></v-card> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<v-card | ||
class="mx-auto my-8" | ||
max-width="344" | ||
title="Hover and click me" | ||
subtitle="Same looks, no anchor" | ||
link | ||
></v-card> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<template> | ||
<v-row align="center" justify="center"> | ||
<v-col cols="auto"> | ||
<v-card | ||
class="mx-auto" | ||
max-width="344" | ||
title="Icons" | ||
subtitle="prepend-icon and append-icon" | ||
prepend-icon="mdi-account" | ||
append-icon="mdi-check" | ||
> | ||
<v-card-text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.</v-card-text> | ||
</v-card> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<v-card | ||
class="mx-auto" | ||
max-width="344" | ||
title="Icons" | ||
subtitle="prepend and append" | ||
> | ||
<template v-slot:prepend> | ||
<v-icon icon="mdi-account" color="primary"></v-icon> | ||
</template> | ||
<template v-slot:append> | ||
<v-icon icon="mdi-check" color="success"></v-icon> | ||
</template> | ||
<v-card-text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.</v-card-text> | ||
</v-card> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<v-card | ||
class="mx-auto" | ||
max-width="344" | ||
title="Avatars" | ||
subtitle="prepend-avatar and append-avatar" | ||
prepend-avatar="https://cdn.vuetifyjs.com/images/logos/v-alt.svg" | ||
append-avatar="https://cdn.vuetifyjs.com/images/john.jpg" | ||
> | ||
<v-card-text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.</v-card-text> | ||
</v-card> | ||
</v-col> | ||
|
||
<v-col cols="auto"> | ||
<v-card | ||
class="mx-auto" | ||
max-width="344" | ||
title="Avatars" | ||
subtitle="prepend and append" | ||
> | ||
<template v-slot:prepend> | ||
<v-avatar color="blue-darken-2"> | ||
<v-icon icon="mdi-alarm"></v-icon> | ||
</v-avatar> | ||
</template> | ||
<template v-slot:append> | ||
<v-avatar size="24"> | ||
<v-img | ||
src="https://cdn.vuetifyjs.com/images/john.png" | ||
alt="John" | ||
></v-img> | ||
</v-avatar> | ||
</template> | ||
<v-card-text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod.</v-card-text> | ||
</v-card> | ||
</v-col> | ||
</v-row> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters