mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 00:15:05 +01:00
* chore: add local module for better dx developing nuxt/ui * up * up * up * feat(Kbd): new * chore(Badge): update * chore(Collapsible): remove content prop * chore(Container): clean * chore(Avatar): update root bg * chore(Link): clean * feat(Tooltip): handle shortcuts * playground(collapsible): update --------- Co-authored-by: Benjamin Canac <canacb1@gmail.com>
16 lines
414 B
Vue
16 lines
414 B
Vue
<template>
|
|
<UCollapsible class="space-y-2 w-48">
|
|
<UButton
|
|
class="group"
|
|
color="gray"
|
|
label="Open"
|
|
block
|
|
trailing-icon="i-heroicons-chevron-right-20-solid"
|
|
:ui="{ trailingIcon: 'group-data-[state=open]:rotate-90 transition' }"
|
|
/>
|
|
|
|
<template #content>
|
|
<div class="bg-primary-500 dark:bg-primary-400 h-12 w-full" />
|
|
</template>
|
|
</UCollapsible>
|
|
</template> |