Skip to content

Instantly share code, notes, and snippets.

@shishirraven
Created July 5, 2022 17:48
Show Gist options
  • Save shishirraven/8be46fba84e17f67ef571c6d15896f03 to your computer and use it in GitHub Desktop.
Save shishirraven/8be46fba84e17f67ef571c6d15896f03 to your computer and use it in GitHub Desktop.
Brave Tabs Example File
<template>
<BraveTabs ref="bravetabref"
class="text-black dark:text-white p-10"
tabs-content-class="border p-10 dark:bg-slate-800"
tab-button-class="px-3 py-2 cursor-pointer rounded-t-lg mr-0 dark:bg-slate-900 bg-gray-50 hover:dark:bg-slate-800 hover:bg-gray-200"
tab-button-active-class="px-3 py-2 shadow-inner-sm -mb-px border rounded-t-lg border-b-0 dark:bg-slate-800 bg-white "
v-bind:tabs="['upload','filemanager']"
initialTab="upload">
<!-- ================================================================ -->
<!-- UPLOAD PANEL -->
<!-- ================================================================ -->
<template #tab-head-upload>Upload</template>
<template #tab-panel-upload>
<h1 class="text-3xl mb-5">Content for Upload Panel</h1>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Rem sunt atque unde ex odit consequatur recusandae maxime ullam inventore, porro laudantium soluta deleniti itaque quibusdam et, quas eaque minima fuga.</p>
</template>
<!-- ================================================================ -->
<!-- FILE MANAGER PANEL -->
<!-- ================================================================ -->
<template #tab-head-filemanager>File Manager</template>
<template #tab-panel-filemanager>
<h1 class="text-3xl mb-5">File Manager Content</h1>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Rem sunt atque unde ex odit consequatur recusandae maxime ullam inventore, porro laudantium soluta deleniti itaque quibusdam et, quas eaque minima fuga.</p>
</template>
</BraveTabs>
</template>
<script>
import { BraveTabs } from "bravevue";
export default {
components: { BraveTabs },
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment