Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d58e09
commit 62a5c3c
Showing
2 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
94 changes: 94 additions & 0 deletions
94
packages/docs/src/examples/v-chip-group/misc-reddit-categories.vue
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,94 @@ | ||
<template> | ||
<v-sheet | ||
class="mx-auto" | ||
max-width="400" | ||
rounded="xl" | ||
border | ||
> | ||
<div class="pa-4"> | ||
<div class="text-h6">What are you into?</div> | ||
|
||
<div class="text-subtitle-1">Select topics to continue</div> | ||
|
||
<v-responsive class="overflow-y-auto" max-height="280"> | ||
<v-chip-group class="mt-3" column> | ||
<v-chip | ||
v-for="topic in topics" | ||
:key="topic" | ||
:text="topic" | ||
:value="topic" | ||
></v-chip> | ||
</v-chip-group> | ||
</v-responsive> | ||
</div> | ||
|
||
<v-divider></v-divider> | ||
|
||
<div class="pa-2"> | ||
<v-btn | ||
color="orange-darken-1" | ||
rounded="t-0 b-xl" | ||
size="x-large" | ||
text="Continue" | ||
variant="flat" | ||
block | ||
></v-btn> | ||
</div> | ||
</v-sheet> | ||
</template> | ||
|
||
<script setup> | ||
const topics = [ | ||
'๐ค Advice', | ||
'๐ Animals', | ||
'๐ค Anime', | ||
'๐จ Art & Design', | ||
'๐ Beauty', | ||
'๐ข Business', | ||
'๐ Books', | ||
'๐ก Damn That\'s Interesting', | ||
'๐ Hobbies', | ||
'๐ฎ Gaming', | ||
'๐ฅ Movies', | ||
'๐ต Music', | ||
'๐บ TV', | ||
'๐ฎ Food', | ||
'๐ Funny', | ||
'๐ Health & Lifestyle', | ||
'๐ School', | ||
'๐ฐ News', | ||
'๐ฒ Nature', | ||
'๐จ Photography', | ||
'๐ Sports', | ||
] | ||
</script> | ||
|
||
<script> | ||
export default { | ||
data: () => ({ | ||
topics: [ | ||
'๐ค Advice', | ||
'๐ Animals', | ||
'๐ค Anime', | ||
'๐จ Art & Design', | ||
'๐ Beauty', | ||
'๐ข Business', | ||
'๐ Books', | ||
'๐ก Damn That\'s Interesting', | ||
'๐ Hobbies', | ||
'๐ฎ Gaming', | ||
'๐ฅ Movies', | ||
'๐ต Music', | ||
'๐บ TV', | ||
'๐ฎ Food', | ||
'๐ Funny', | ||
'๐ Health & Lifestyle', | ||
'๐ School', | ||
'๐ฐ News', | ||
'๐ฒ Nature', | ||
'๐จ Photography', | ||
'๐ Sports', | ||
], | ||
}), | ||
} | ||
</script> |
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