-
Notifications
You must be signed in to change notification settings - Fork 49
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
da09bd3
commit 71a9bcb
Showing
3 changed files
with
44 additions
and
0 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
42 changes: 42 additions & 0 deletions
42
app/src/routes/(backstage)/(library)/data-display/listbox/+page.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,42 @@ | ||
<script lang="ts" setup> | ||
import { XBreadcrumb, XCard, XListbox } from '@x/ui'; | ||
</script> | ||
|
||
<template> | ||
<XBreadcrumb :items="[{ text: 'Library' }, { text: 'Data Display' }, { text: 'Listbox' }]" /> | ||
|
||
<h1 class="text-4xl font-extrabold my-4">Listbox</h1> | ||
|
||
<section class="my-8"> | ||
<h2 class="text-3xl font-bold my-4">Basic</h2> | ||
|
||
<XCard> | ||
<XListbox> | ||
<XListbox.Item class="flex items-center gap-2"> | ||
<div class="i-material-symbols-arrow-circle-up-outline-rounded size-5"></div> | ||
<div>Top</div> | ||
</XListbox.Item> | ||
<XListbox.Item class="flex items-center gap-2"> | ||
<div class="i-material-symbols-arrow-circle-right-outline-rounded size-5"></div> | ||
<div>Right</div> | ||
</XListbox.Item> | ||
<XListbox.Item class="flex items-center gap-2"> | ||
<div class="i-material-symbols-arrow-circle-down-outline-rounded size-5"></div> | ||
<div>Bottom</div> | ||
</XListbox.Item> | ||
<XListbox.Item class="flex items-center gap-2"> | ||
<div class="i-material-symbols-arrow-circle-left-outline-rounded size-5"></div> | ||
<div>Left</div> | ||
</XListbox.Item> | ||
</XListbox> | ||
</XCard> | ||
</section> | ||
|
||
<section class="my-8"> | ||
<h2 class="text-3xl font-bold my-4 pt-6">...</h2> | ||
|
||
<XCard> | ||
<!-- ... --> | ||
</XCard> | ||
</section> | ||
</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